public function isLastPage()
 {
     if (!$this->helper->isActiveEngine()) {
         return parent::isLastPage();
     }
     return $this->getCurrentPage() >= $this->getLastPageNum();
 }