public function getIsLastPage() { return $this->getCurrentPageIndex() === $this->getPageCount() - 1; }