title: How to find out if key exist in cacheManager (org.springframework.cache.CacheManager)
body: <p>Is there a way to see if a particular key exist in cacheManager (<code>org.springframework.cache.CacheManager</code>) as i am unable to find a way to do that as there is no <code>containsKey</code> option. I would appreciate if someone could show me a way to check if a key exist in cacheManager. Below are few things i have tried so far -</p>
  
  <pre><code>Cache cache=null;
  for (String name : cacheManager.getCacheNames()) {
      cache=cacheManager.getCache(name);
      System.out.println("--------------&gt;"+cache.get("dummyCache").get()); //this will give me null pointer exception as there is no dummyCache 
      }
  </code></pre>
  
  <p>I would like add if/else check to see if a <code>dummyCache</code>key exist in cache</p>