def needs_cleanup(self):
        for act in self._cleanup_actions():
            return True
        return False
Check whether a call to cleanup() is necessary.
dataset/ETHPy150Open cloudmatrix/esky/esky/__init__.py/Esky.needs_cleanup