Decide whether the relation defines a function.{(-1, 1), (1,…