def is_running(pid):
    try:
        kill(pid, 0)
    except __HOLE__ as error:
        if error.errno == ESRCH:
            return False
    return True
dataset/ETHPy150Open circuits/circuits/tests/core/test_signals.py/is_running