Changed .is_Rational to has(x) or has(y)