protected void validateName() {
    if (name == null) {
      throw new IllegalStateException("Datacenter name cannot be null.");
    } else if (name.length() == 0) {
      throw new IllegalStateException("Datacenter name cannot be zero length.");
    }
  }
Returns {@code true} if all nodes in the datacenter have rack IDs
@return {@code true} if all nodes in the datacenter have rack IDs, {@code false} otherwise
ambry-clustermap/src/main/java/com/github/ambry/clustermap/Datacenter.java