original_string: public function isFirst()
      {
          $parent = $this->parent();
          $collection = $parent ? $parent->collection('content', false) : null;
          if ($collection instanceof Collection) {
              return $collection->isFirst($this->path());
          }
  
          return true;
      }
code: public function isFirst()
      {
          $parent = $this->parent();
          $collection = $parent ? $parent->collection('content', false) : null;
          if ($collection instanceof Collection) {
              return $collection->isFirst($this->path());
          }
  
          return true;
      }
code_tokens: public function isFirst ( ) { $ parent = $ this -> parent ( ) ; $ collection = $ parent ? $ parent -> collection ( 'content' , false ) : null ; if ( $ collection instanceof Collection ) { return $ collection -> isFirst ( $ this -> path ( ) ) ; } return true ; }
docstring: Check to see if this item is the first in an array of sub-pages.
  
  @return bool True if item is first.
docstring_tokens: Check to see if this item is the first in an array of sub - pages .