public function hasCache($name)
    {
        if (isset($this->_caches[$name])
            || $this->hasCacheTemplate($name)
        ) {
            return true;
        }
        return false;
    }
public function hasCache($name)
    {
        if (isset($this->_caches[$name])
            || $this->hasCacheTemplate($name)
        ) {
            return true;
        }
        return false;
    }
public function hasCache ( $ name ) { if ( isset ( $ this -> _caches [ $ name ] ) || $ this -> hasCacheTemplate ( $ name ) ) { return true ; } return false ; }
Check if the Cache Manager contains the named cache object, or a named
configuration template to lazy load the cache object

@param string $name
@return bool
Check if the Cache Manager contains the named cache object or a named configuration template to lazy load the cache object