#NEWLINE# def supports_solver_type( self , solver_type ) : #NEWLINE# #INDENT# '\n        return whether framework supports this solver_type\n        ' #NEWLINE# if ( not hasattr ( self , 'SUPPORTED_SOLVER_TYPES' ) ) : #NEWLINE# #INDENT# raise NotImplementedError #NEWLINE# #UNINDENT# assert isinstance ( solver_type . SUPPORTED_SOLVER_TYPES , list ) #NEWLINE# return ( solver_type in self . SUPPORTED_SOLVER_TYPES )