apache-geode-extensions/src/main/java/org/springframework/geode/util/CacheUtils.java
/**
	 * Null-safe method to determine whether the given {@link Region} is a [client] {@literal PROXY} {@link Region}.
	 *
	 * The {@link Region} is a {@literal PROXY} if the {@link DataPolicy} is {@link DataPolicy#EMPTY}
	 * or the {@link Region} has a configured {@link Pool}.
	 *
	 * @param region {@link Region} to evaluate.
	 * @return a boolean value to determine whether the {@link Region} is a [client] {@literal PROXY} {@link Region}.
	 * @see org.apache.geode.cache.Region
	 * @see #isRegionWithPool(Region)
	 */
Null-safe method to determine whether the given  Region is a [client]  PROXY  Region.
The  Region is a  PROXY if the  DataPolicy is  DataPolicy#EMPTY
or the  Region has a configured  Pool.

@param region  Region to evaluate.
@return a boolean value to determine whether the  Region is a [client]  PROXY  Region.
Null - safe method to determine whether the given Region is a [ client ] PROXY Region . The Region is a PROXY if the DataPolicy is DataPolicy#EMPTY or the Region has a configured Pool . @param region Region to evaluate . @return a boolean value to determine whether the Region is a [ client ] PROXY Region .
public static boolean isProxyRegion(Region<?, ?> region) {
		return region != null
			&& region.getAttributes() != null
			&& (DataPolicy.EMPTY.equals(region.getAttributes().getDataPolicy())
			|| isRegionWithPool(region));
	}
public static boolean isProxyRegion ( Region < ? , ? > region ) { return region != null && region . getAttributes ( ) != null && ( DataPolicy . EMPTY . equals ( region . getAttributes ( ) . getDataPolicy ( ) ) || isRegionWithPool ( region ) ) ; }
Null-safe method to determine whether the given {@link Region} is a [client] {@literal PROXY} {@link Region}.
Null - safe method to determine whether the given { @link Region } is a [ client ] { @literal PROXY } { @link Region } .