/** * Checks whether a value in the view has been set. * * @param string $key The member variable to check. * * @return bool */ public function __isset($key) { return isset($this->_engine->getContext()->{$key}); }