pypet/trajectory.py
def _is_completed(self, name_or_id=None):
        """Private function such that it can still be called by the environment during
        a single run"""

        if name_or_id is None:
            return all(
                (runinfo['completed'] for runinfo in self._run_information.values()))
        else:
            return self.f_get_run_information(name_or_id, copy=False)['completed']
def _is_completed(self, name_or_id=None):
        """Private function such that it can still be called by the environment during
        a single run"""

        if name_or_id is None:
            return all(
                (runinfo['completed'] for runinfo in self._run_information.values()))
        else:
            return self.f_get_run_information(name_or_id, copy=False)['completed']
def _is_completed ( self , name_or_id = None ) : if name_or_id is None : return all ( ( runinfo [ 'completed' ] for runinfo in self . _run_information . values ( ) ) ) else : return self . f_get_run_information ( name_or_id , copy = False ) [ 'completed' ]
Private function such that it can still be called by the environment during
        a single run
Private function such that it can still be called by the environment during a single run