public function hasIn($namespace, $key)
    {
        if (isset($_SESSION[$namespace])) {
            $oldNamespace = $this->namespace;
            $this->setNamespace($namespace);
            $result = $this->has($key);
            $this->setNamespace($oldNamespace);

            return $result;
        }
    }