parameters: ()
return_statement: return result
docstring: Determine whether detaching process context is required.
  
          Return ``True`` if the process environment indicates the
          process is already detached:
  
          * Process was started by `init`; or
  
          * Process was started by `inetd`.
docstring_summary: Determine whether detaching process context is required.
docstring_tokens: Determine whether detaching process context is required .
function: def is_detach_process_context_required():
      """ Determine whether detaching process context is required.
  
          Return ``True`` if the process environment indicates the
          process is already detached:
  
          * Process was started by `init`; or
  
          * Process was started by `inetd`.
  
          """
      result = True
      if is_process_started_by_init() or is_process_started_by_superserver():
          result = False
  
      return result
function_tokens: def is_detach_process_context_required ( ) : result = True if is_process_started_by_init ( ) or is_process_started_by_superserver ( ) : result = False return result