final Data keyData = toData(key);
Object cached = nearCache != null ? nearCache.get(keyData) : null;
if (cached != null && !ClientNearCache.NULL_OBJECT.equals(cached)) {
return true;
}
CacheContainsKeyRequest request = new CacheContainsKeyRequest(nameWithPrefix, keyData, cacheConfig.getInMemoryFormat());
ICompletableFuture future;
try {
future = invoke(request, keyData, false);
return (Boolean) toObject(future.get());
} catch (Exception e) {