code: public boolean isSet(@NonNull NamedOption option) {
        if (option.isBoolean()) {
           return option.getValue() != null && option.<Boolean>getValue();
        }
  
        return option.getValue() != null;
     }
docs: Determines if an option was set or not.
  
  @param option the option to check
  @return True if it was set (boolean options must be true), False otherwise