probably elif other.is_real

Number.is_real is a property of the Number class.