code: def match_option_with_value(arguments, option, value):
      
      return ('%s=%s' % (option, value) in arguments or
              contains_sublist(arguments, [option, value]))
docs: Check if a list of command line options contains an option with a value.
  
      :param arguments: The command line arguments (a list of strings).
      :param option: The long option (a string).
      :param value: The expected value (a string).
      :returns: :data:`True` if the command line contains the option/value pair,
                :data:`False` otherwise.