It is not a function because if you draw a straight line on the graph shown, it will pass more than one point. Basically the graph passes a line from more than one points it is not a function. If it passes only one point than it is a function.
Hope this helps and thank you !!