'Return True if this represents done.
subclassing note: implemented in terms of frac(), assumes sanity
checking is done at construction time.'

def done(self):

    (a, b) = self.frac()
    return (a == b)
