original_string: public function isLast($path)
      {
          return $this->items && $path === array_keys($this->items)[\count($this->items) - 1];
      }
code: public function isLast($path)
      {
          return $this->items && $path === array_keys($this->items)[\count($this->items) - 1];
      }
code_tokens: public function isLast ( $ path ) { return $ this -> items && $ path === array_keys ( $ this -> items ) [ \ count ( $ this -> items ) - 1 ] ; }
docstring: Check to see if this item is the last in the collection.
  
  @param  string $path
  
  @return bool True if item is last.
docstring_tokens: Check to see if this item is the last in the collection .