public function has_all(array $keys) {
        foreach ($keys as $key) {
            if (!is_array($key)) {
                $key = array('key' => $key);
            }
            $key = $key['key'];
            if (!isset($this->store[$key])) {
                return false;
            }
        }
        return true;
    }
public function has_all(array $keys) {
        foreach ($keys as $key) {
            if (!is_array($key)) {
                $key = array('key' => $key);
            }
            $key = $key['key'];
            if (!isset($this->store[$key])) {
                return false;
            }
        }
        return true;
    }
public function has_all ( array $ keys ) { foreach ( $ keys as $ key ) { if ( ! is_array ( $ key ) ) { $ key = array ( 'key' => $ key ) ; } $ key = $ key [ 'key' ] ; if ( ! isset ( $ this -> store [ $ key ] ) ) { return false ; } } return true ; }
Returns true if the store contains records for all of the given keys.

@param array $keys
@return bool
Returns true if the store contains records for all of the given keys .