@property
    def is_running(self):
        "Check For the existence of a pid"
        pid = self.state.get('pid')
        if not pid:
            return False
        try:
            os.kill(pid, 0)
        except __HOLE__:
            return False
        else:
            return True
dataset/ETHPy150Open Anaconda-Platform/chalmers/chalmers/program/posix.py/PosixProgram.is_running