code: public boolean isSet(@NonNull String optionName) {
        optionName = optionName.replaceAll("^-+", "");
        NamedOption option = options.get(optionName);
  
        if (option == null) {
           return unamedOptions.containsKey(optionName) &&
                     !unamedOptions.get(optionName).equalsIgnoreCase("false");
        }
  
        return isSet(option);
     }
docs: Determines if an option was set or not.
  
  @param optionName the option name
  @return True if it was set (boolean options must be true), False otherwise