code: def is_solved(self):
          
          for side in "LUFDRB":
              sample = self.cube[side].facings[side]
              for square in sum(self.cube.get_face(side), []):
                  if square != sample:
                      return False
          return True
docs: Check if Cube is solved.