I need to know whether the relation is a function.

Answer:
Yes
Step-by-step explanation:
Yes, actually. If we graph the data table we see that the function actually passes the vertical line test. Despite the same output occurring for different inputs, a single x-value does not have multiple y-values, which would mean it wasn't a function.
Hope this helps!