def recognise(self):
if not isinstance(self.cube, Cube):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>result = "<STR_LIT>"<EOL>for face in "<STR_LIT>":<EOL><INDENT>for square in self.cube.get_face(face)[<NUM_LIT:0>]:<EOL><INDENT>result += str(int(square == self.cube["<STR_LIT>"]["<STR_LIT>"]))<EOL><DEDENT><DEDENT>if result not in algo_dict:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.case = result<EOL>return result<EOL>
Recognise which is Cube's OLL case.