public function exists() { return self::$started || $this->request->getCookie($this->getName()) !== NULL; }
/** * Determines whether a variable in this session section is set. * @param string name * @return bool */ public function __isset($name) { if ($this->session->exists()) { $this->start(); } return isset($this->data[$name]); }