def check_pid(pid):
    try:
        os.kill(pid, 0)
    except OSError as err:
        if err.errno == errno.ESRCH:
            # ESRCH == No such process
            return False
        elif err.errno == errno.EPERM:
            # EPERM clearly means there's a process to deny access to
            return True
        else:
            # According to "man 2 kill" possible error values are
            # (EINVAL, EPERM, ESRCH)
            raise
    else:
        return True
Return a suitable description of this field for South.
dataset/ETHPy150Open owtf/owtf/framework/lib/general.py/check_pid--crossover with--dataset/ETHPy150Open SmileyChris/easy-thumbnails/easy_thumbnails/fields.py/ThumbnailerField.south_field_triple