def __nonzero__(self):
        for i in range(len(self._v)):
            if self._v[i]: return True
        return False
A vector is nonzero if any of its elements are nonzero.
dataset/ETHPy150Open hhatto/autopep8/test/vectors_example.py/V.__nonzero__