docs: public boolean isInstanceURL(String url, InstanceInfo instance) {
          String hostName = hostFromUrl(url);
          String myInfoComparator = instance.getHostName();
          if (clientConfig.getTransportConfig().applicationsResolverUseIp()) {
              myInfoComparator = instance.getIPAddr();
          }
          return hostName != null && hostName.equals(myInfoComparator);
      }