code: public boolean isThisMyUrl(String url) {
          final String myUrlConfigured = serverConfig.getMyUrl();
          if (myUrlConfigured != null) {
              return myUrlConfigured.equals(url);
          }
          return isInstanceURL(url, applicationInfoManager.getInfo());
      }
docs: Checks if the given service url contains the current host which is trying
  to replicate. Only after the EIP binding is done the host has a chance to
  identify itself in the list of replica nodes and needs to take itself out
  of replication traffic.
  
  @param url the service url of the replica node that the check is made.
  @return true, if the url represents the current node which is trying to
  replicate, false otherwise.