#NEWLINE# def server_started_with_option( client , cmdline_opt , config_opt ) : #NEWLINE# #INDENT# 'Check if the server was started with a particular option.\n    \n    :Parameters:\n      - `cmdline_opt`: The command line option (i.e. --nojournal)\n      - `config_opt`: The config file option (i.e. nojournal)\n    ' #NEWLINE# command_line = get_command_line ( client ) #NEWLINE# if ( 'parsed' in command_line ) : #NEWLINE# #INDENT# parsed = command_line [ 'parsed' ] #NEWLINE# if ( config_opt in parsed ) : #NEWLINE# #INDENT# return parsed [ config_opt ] #NEWLINE# #UNINDENT# #UNINDENT# argv = command_line [ 'argv' ] #NEWLINE# return ( cmdline_opt in argv )