def METHOD_NAME(self, problem) -> bool:
    """Can SDPA solve the problem?
    """
    if not problem.objective.args[0].is_affine():
        return False
    for constr in problem.constraints:
        if type(constr) not in self.SUPPORTED_CONSTRAINTS:
            return False
        for arg in constr.args:
            if not arg.is_affine():
                return False
    return True