original_string: public function is_last_tour($tourcount = null) {
          if ($tourcount === null) {
              $tourcount = helper::count_tours();
          }
          return ($this->get_sortorder() === ($tourcount - 1));
      }
code: public function is_last_tour($tourcount = null) {
          if ($tourcount === null) {
              $tourcount = helper::count_tours();
          }
          return ($this->get_sortorder() === ($tourcount - 1));
      }
code_tokens: public function is_last_tour ( $ tourcount = null ) { if ( $ tourcount === null ) { $ tourcount = helper :: count_tours ( ) ; } return ( $ this -> get_sortorder ( ) === ( $ tourcount - 1 ) ) ; }
docstring: Whether this tour is the last tour.
  
  @param   int         $tourcount  The pre-fetched count of tours
  @return  boolean
docstring_tokens: Whether this tour is the last tour .