No input corresponds to more than one output, so this is a function. A horizontal line represents a function (although vertical lines do not).