Answer
Yes.
Work Step by Step
A function is a relation that maps each element of the domain of the function, to a unique element of the co-domain (or range) of the function.
In the given relation, every $x$-value there is a unique $y$-value.
Hence, the relation represents a function.