public function __isset($name) { if ($this->session->exists()) { $this->start(); } return isset($this->data[$name]); }