private void throwIfClient() {
    if (isClient()) {
      throw new UnsupportedOperationException("operation is not supported on a client cache");
    }
  }
Returns whether or not this {@code CacheCreation} is equivalent to another {@code Cache}.
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java