original_string: public final function is_last() {
          $lastindex = count(core_component::get_plugin_list($this->get_subtype()))-1;
          $currentindex = get_config($this->get_subtype() . '_' . $this->get_type(), 'sortorder');
          if ($lastindex == $currentindex) {
              return true;
          }
  
          return false;
      }
code: public final function is_last() {
          $lastindex = count(core_component::get_plugin_list($this->get_subtype()))-1;
          $currentindex = get_config($this->get_subtype() . '_' . $this->get_type(), 'sortorder');
          if ($lastindex == $currentindex) {
              return true;
          }
  
          return false;
      }
code_tokens: public final function is_last ( ) { $ lastindex = count ( core_component :: get_plugin_list ( $ this -> get_subtype ( ) ) ) - 1 ; $ currentindex = get_config ( $ this -> get_subtype ( ) . '_' . $ this -> get_type ( ) , 'sortorder' ) ; if ( $ lastindex == $ currentindex ) { return true ; } return false ; }
docstring: Is this the last plugin in the list?
  
  @return bool
docstring_tokens: Is this the last plugin in the list?