code: public Set<String> getEnabledOptionValues() {
          Set<String> result = new HashSet<>();
          for (OptionGroup group : optionGroups.values()) {
              result.addAll(group.getEnabledOptionValues());
          }
  
          return result;
      }
docs: Returns all the values of the options of this element that are enabled.
  If a group itself is disabled, its options are also considered as disabled.
  @return Set of values of enabled options