def __nonzero__(self):
        try:
            self.peek()
        except __HOLE__:
            return False
        return True
dataset/ETHPy150Open tanghaibao/jcvi/utils/iter.py/peekable.__nonzero__