public boolean existsRemote(String key) {
        try {
            return remoteCache != null && remoteCache.exists(key);
        } catch (Exception e) {
            throw e instanceof CacheException ? (CacheException) e : new CacheException(e);
        }
    }
public boolean existsRemote(String key) {
        try {
            return remoteCache != null && remoteCache.exists(key);
        } catch (Exception e) {
            throw e instanceof CacheException ? (CacheException) e : new CacheException(e);
        }
    }
public boolean existsRemote ( String key ) { try { return remoteCache != null && remoteCache . exists ( key ) ; } catch ( Exception e ) { throw e instanceof CacheException ? ( CacheException ) e : new CacheException ( e ) ; } }
Checks if an entry exists in the local cache.

@param key
Checks if an entry exists in the local cache .