How about adding an isZero() method to the Fraction class?