Determining if y is a function of x