private boolean anyResourceInFullAuto(String dcName) {
    Map<Integer, IdealState> resourceIdToIdealState = dcToResourceIdToIdealState.get(dcName);
    if (resourceIdToIdealState.isEmpty()) {
      return false;
    }
    return resourceIdToIdealState.values().stream().anyMatch(this::isIdealStateInFullAuto);
  }
Return a map from partition to resource id, given the map from resource id to ideal state.
@param resourceIdToIdealState
@return
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixBootstrapUpgradeUtil.java