yii\caching\ArrayCache::exists PHP Метод

exists() публичный Метод

public exists ( $key )
    public function exists($key)
    {
        $key = $this->buildKey($key);
        return isset($this->_cache[$key]) && ($this->_cache[$key][1] === 0 || $this->_cache[$key][1] > microtime(true));
    }