public boolean hasCustomExpiry() {
      return getCustomExpiry() != null;
    }
@return true if custom expiry class is specified
geode-core/src/main/java/org/apache/geode/cache/configuration/RegionAttributesType.java