src/Adapter/PHPArray/ArrayCachePool.php
private function cacheIsset($keys)
    {
        $has   = false;
        $array = $this->cache;

        foreach ($keys as $key) {
            if ($has = array_key_exists($key, $array)) {
                $array = $array[$key];
            }
        }

        if (is_array($array)) {
            $has = $has && array_key_exists(0, $array);
        }

        return $has;
    }
private function cacheIsset($keys)
    {
        $has   = false;
        $array = $this->cache;

        foreach ($keys as $key) {
            if ($has = array_key_exists($key, $array)) {
                $array = $array[$key];
            }
        }

        if (is_array($array)) {
            $has = $has && array_key_exists(0, $array);
        }

        return $has;
    }
private function cacheIsset ( $ keys ) { $ has = false ; $ array = $ this -> cache ; foreach ( $ keys as $ key ) { if ( $ has = array_key_exists ( $ key , $ array ) ) { $ array = $ array [ $ key ] ; } } if ( is_array ( $ array ) ) { $ has = $ has && array_key_exists ( 0 , $ array ) ; } return $ has ; }
Checking if given keys exists and is valid.

@param array $keys

@return bool
Checking if given keys exists and is valid .