A relation represented in an X-Y coordinate is the graph of a function if and only if there is no vertical line which passes through two points of the relation. In other words, each vertical line passes through at most one point in the relation.
This is the case of the given line. Therefore, it is the graph of a function.