public function isPersistent() { return (bool) $this->hasParam('persistent') ? $this->getParam('persistent') : true; }