def is_process_started_by_superserver():
 result = False
 stdin_fd = sys.__stdin__.fileno()
 if is_socket(stdin_fd):
  result = True
 return result

def is_process_started_by_superserver ( ) : result = False stdin_fd = sys . __stdin__ . fileno ( ) if is_socket ( stdin_fd ) : result = True return result
determine if the current process is started by the superserver .