Question: is x or y the constant?
Answer: A constant function is an even function, i.e. the graph of a constant function is symmetric with respect to the y-axis. . The converse is also true. Namely, if y'(x)=0 for all real numbers x, then y is a constant function.