def is_solved(self):
for side in "<STR_LIT>":<EOL><INDENT>sample = self.cube[side].facings[side]<EOL>for square in sum(self.cube.get_face(side), []):<EOL><INDENT>if square != sample:<EOL><INDENT>return False<EOL><DEDENT><DEDENT><DEDENT>return True<EOL>
Check if Cube is solved.