Is the relation {(1, 1), (-1, 1), (2, 4), (-2, 4)} a function?

A relation fails to be a function if and only if there are 2 pairs with the same $x$ and different $y$'s.