docs: public static boolean allUsePublicAddress(List<AliasedDiscoveryConfig<?>> configs) {
          boolean atLeastOneEnabled = false;
          for (AliasedDiscoveryConfig config : configs) {
              if (config.isEnabled()) {
                  atLeastOneEnabled = true;
                  if (!config.isUsePublicIp()) {
                      return false;
                  }
              }
          }
          return atLeastOneEnabled;
      }