def parent_is_init():
if os.getppid() == <NUM_LIT:1>:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Check if parent is Init

    Check if the parent process is init, or something else that
    owns PID 1.

    :return: bool