evalml.objectives.R2.is_defined_for_problem_type

classmethod R2.is_defined_for_problem_type(problem_type)