def server_started_with_option(client, cmdline_opt, config_opt):
 command_line = get_command_line(client)
 if ('parsed' in command_line):
  parsed = command_line['parsed']
  if (config_opt in parsed):
   return parsed[config_opt]
 argv = command_line['argv']
 return (cmdline_opt in argv)

def server_started_with_option ( client , cmdline_opt , config_opt ) : command_line = get_command_line ( client ) if ( 'parsed' in command_line ) : parsed = command_line [ 'parsed' ] if ( config_opt in parsed ) : return parsed [ config_opt ] argv = command_line [ 'argv' ] return ( cmdline_opt in argv )
check if the server was started with a particular option .