/**
  * Tests if an entry exists in the cache.
  *
  * @param string $id The cache id of the entry to check for.
  * @return boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise.
  */
 public function contains($id)
 {
     return $this->cache->has($this->convertCacheIdentifier($id));
 }
 /**
  * Tests if an entry exists in the cache.
  *
  * @param string $id The cache id of the entry to check for.
  * @return boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise.
  */
 public function contains($id)
 {
     return $this->cache->has(md5($id));
 }
 /**
  */
 protected function clearKlosterCache()
 {
     if ($this->cacheInterface->has('kloster')) {
         $this->cacheInterface->remove('kloster');
     }
 }