determine if y is a function of x