def detach_required():
if parent_is_inet() or parent_is_init():<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Check if detaching is required

    This is done by collecting the results of parent_is_inet and
    parent_is_init. If one of them is True, detaching, aka the daemoninzing,
    aka the double fork magic, is not required, and can be skipped.

    :return: bool