def __nonzero__(self):
        return bool(getattr(self.thread_local, 'count', 0))


# Global _SafeArrayAsNdArrayContextManager
True if context manager is currently entered on given thread.
dataset/ETHPy150Open enthought/comtypes/comtypes/safearray.py/_SafeArrayAsNdArrayContextManager.__nonzero__