code: private boolean hasDisableOption(String argument, String setting) {
          if (line == null || !line.hasOption(argument)) {
              try {
                  return !settings.getBoolean(setting);
              } catch (InvalidSettingException ise) {
                  LOGGER.warn("Invalid property setting '{}' defaulting to false", setting);
                  return false;
              }
          } else {
              return true;
          }
      }
docs: Utility method to determine if one of the disable options has been set.
  If not set, this method will check the currently configured settings for
  the current value to return.
  
  Example given `--disableArchive` on the command line would cause this
  method to return true for the disable archive setting.
  
  @param argument the command line argument
  @param setting the corresponding settings key
  @return true if the disable option was set, if not set the currently
  configured value will be returned