It is a function.
You can try plot the graph of that equation and then plot a vertical line. You will see that the graph will only intercept the vertical line only once. That is a function.
Or you can look at the equation. Functions have the equations that start with "y=". Rather say that if you see "y" only (not y² or y³ just only y) then that is mostly a function.