// Exists returns true if the cache has a value for the given key.
Exists returns true if the cache has a value for the given key.
// Exists returns true if the cache has a value for the given key .
func (c *BaseCache) Exists(key cache.Key) bool {
	k := key.Key()
	_, ok := c.backend.Get(k)
	return ok
}
func ( c * BaseCache ) Exists ( key cache . Key ) bool { k := key . Key ( ) _ , ok := c . backend . Get ( k ) return ok }
Exists returns true if the cache has a value for the given key.
Exists returns true if the cache has a value for the given key .