protected function _hasVar($name)
    {
        $store = $this->_getVariableStore();

        if ($store instanceof \Zend_Session_Namespace) {
            return $store->__isset($name);
        } else {
            return $store->offsetExists($name);
        }
    }
protected function _hasVar($name)
    {
        $store = $this->_getVariableStore();

        if ($store instanceof \Zend_Session_Namespace) {
            return $store->__isset($name);
        } else {
            return $store->offsetExists($name);
        }
    }
protected function _hasVar ( $ name ) { $ store = $ this -> _getVariableStore ( ) ; if ( $ store instanceof \ Zend_Session_Namespace ) { return $ store -> __isset ( $ name ) ; } else { return $ store -> offsetExists ( $ name ) ; } }
Checks for existence of a value in whatever store is used by this object.

@param string $name
@return boolean
Checks for existence of a value in whatever store is used by this object .