lastPage method

bool lastPage()

Implementation

bool lastPage() {
  if (last_page == current_page) {
    return false;
  }
  current_page = last_page;
  return true;
}