Habari\MemcacheCache::_has PHP Метод

_has() защищенный Метод

Is record with $name in the cache?
protected _has ( string $name, $group ) : boolean
$name string name of the cached item
Результат boolean true if item is cached, false if not
    protected function _has($name, $group)
    {
        if (!$this->enabled) {
            return false;
        }
        return isset($this->cache_index[$group][$name]) && ($this->cache_index[$group][$name]['keep'] || $this->cache_index[$group][$name]['expires'] > time()) && $this->memcache->get($this->cache_index[$group][$name]['file']) !== false;
    }