Only if f is a rational function involving the variables x and y.