docs: @SuppressWarnings("deprecation")
      private boolean isAlternativePresent(final String alternative) {
          if (alternatives == null) {
              return false;
          }
          for (String alt : alternatives) {
              if (alt.equals(alternative)) {
                  return true;
              }
          }
          return false;
      }