How can we determine from a graph if a function is shown or not?

(one sentence)

If the graph is continuous and follows a pattern or relation between the x and y values, it indicates that a function is shown.