public static boolean isGemFireClient() {
		GemFireCacheImpl impl = (GemFireCacheImpl) CacheFactory
				.getAnyInstance();
		return impl != null && impl.isClient();
	}
public static boolean isGemFireClient() {
		GemFireCacheImpl impl = (GemFireCacheImpl) CacheFactory
				.getAnyInstance();
		return impl != null && impl.isClient();
	}
public static boolean isGemFireClient ( ) { GemFireCacheImpl impl = ( GemFireCacheImpl ) CacheFactory . getAnyInstance ( ) ; return impl != null && impl . isClient ( ) ; }
Checks if the current GemFire is a client instance.

@return true if the cache instance is client.
Checks if the current GemFire is a client instance .