public static boolean isPartitionResourceName(String resourceName) {
    // all the partitions are placed under resource named as integer values.
    if (smallIntegers.contains(resourceName)) {
      return true;
    }
    try {
      Integer.parseUnsignedInt(resourceName);
      return true;
    } catch (Exception e) {
      return false;
    }
  }
Return {@code true} if the given resource name is a resource that contains partition information. Our current
partition resources are all named as integer values.
@param resourceName The resource name.
@return {@code true} when the given resource contains partition information
ambry-commons/src/main/java/com/github/ambry/clustermap/HelixVcrUtil.java