def supports_solver_type(self, solver_type):
        if not hasattr(self, 'SUPPORTED_SOLVER_TYPES'):
            raise NotImplementedError
        assert isinstance(self.SUPPORTED_SOLVER_TYPES, list)
        return solver_type in self.SUPPORTED_SOLVER_TYPES
return whether framework supports this solver_type
dataset/ETHPy150Open NVIDIA/DIGITS/digits/frameworks/framework.py/Framework.supports_solver_type