Answer:
Yes
Explanation:
A function is a set of ordered pairs in which each x-element has only ONE y-element associated with it, but while it may NOT have two y-values assigned to the same x-value, it may have two x-values assigned to the same y-value.
The points (5,2) and (8,2) have the same y value, but their x values are different. It is a function (there are no values of x for which we have more than one value of y).