@Override
  public boolean hasDatacenter(String datacenterName) {
    boolean helixHas = helixClusterManager.hasDatacenter(datacenterName);
    if (check) {
      boolean staticHas = staticClusterManager.hasDatacenter(datacenterName);
      if (staticHas != helixHas) {
        logger.debug("Static DC info does not match Helix DC info");
        helixClusterManagerMetrics.hasDatacenterMismatchCount.inc();
      }
    }
    return helixHas;
  }
Check for existence of the given datacenter from both the static and the helix based cluster managers and update
a metric if there is a mismatch.
@param datacenterName name of datacenter
@return true if the datacenter exists in the underlying {@link StaticClusterManager}; false otherwise.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/CompositeClusterManager.java