2 is a y-value in the table, so 2 is in the range of the function.