def is_process_running(pid):
    """ Check For the existence of a unix pid.
    """

    try:
        os.kill(pid, 0)
    except __HOLE__:
        return False
    else:
        return True
dataset/ETHPy150Open cloudviz/agentless-system-crawler/crawler/misc.py/is_process_running