/** * @return boolean whether the user session has started */ public function getIsActive() { if (!$this->enableSession) { return false; } return $this->storage->exists("{$this->container}.id"); }