code: public List<Option> getOptions(boolean includeDisabled) {
          List<Option> result = new ArrayList<>(); //Keep order
  
          if (!includeDisabled && !enabled) {
              return result;//This group is disabled entirely
          }
  
          for (Option option : options.values()) {
              if (includeDisabled || option.isEnabled()) {
                  result.add(option);
              }
          }
  
          return result;
      }
docs: Returns all the options in this group, in list order.
  @param includeDisabled Indicates if disabled options should be included in the list.
  If the group itself is disabled, its options are also considered as disabled.
  @return List of options