private function isCurrentlyLastPage()
    {
        if ($this->page_number_type === 'start_num') {
            if ($this->page_number_value >= ($this->total_pages*$this->items_per_page)-$this->items_per_page) {
                return true;
            }
            return false;
        } elseif ($this->page_number_type === 'page_num') {
            if ($this->page_number_value >= $this->total_pages) {
                return true;
            }
            return false;
        }
        return false;
    }
private function isCurrentlyLastPage()
    {
        if ($this->page_number_type === 'start_num') {
            if ($this->page_number_value >= ($this->total_pages*$this->items_per_page)-$this->items_per_page) {
                return true;
            }
            return false;
        } elseif ($this->page_number_type === 'page_num') {
            if ($this->page_number_value >= $this->total_pages) {
                return true;
            }
            return false;
        }
        return false;
    }
private function isCurrentlyLastPage ( ) { if ( $ this -> page_number_type === 'start_num' ) { if ( $ this -> page_number_value >= ( $ this -> total_pages * $ this -> items_per_page ) - $ this -> items_per_page ) { return true ; } return false ; } elseif ( $ this -> page_number_type === 'page_num' ) { if ( $ this -> page_number_value >= $ this -> total_pages ) { return true ; } return false ; } return false ; }
Is it currently in the last page?

@return boolean Return true if the page that is displaying is last page, return false if otherwise.
Is it currently in the last page?