def __nonzero__(a):
        return a._numerator != 0

    # support for pickling, copy, and deepcopy
a != 0
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/fractions.py/Fraction.__nonzero__