boolean hasNearCache(@Nullable String cacheName){
  return nearEnabledCaches.contains(cacheName);
}

boolean hasNearCache ( @ Nullable String cacheName ) { return nearEnabledCaches . contains ( cacheName ) ; }
checks if cache with given name has at least one node with near cache enabled .
