Any linear relation involving both x and y is a function.
__
<em>Additional comment</em>
A line of the form x=constant is the only sort of line that is not a function. As you can see, it does not involve y, which is why I put the restriction in the above statement.