public function isFirst()
    {
        $parent = $this->parent();
        $collection = $parent ? $parent->collection('content', false) : null;
        if ($collection instanceof Collection) {
            return $collection->isFirst($this->path());
        }

        return true;
    }
public function isFirst()
    {
        $parent = $this->parent();
        $collection = $parent ? $parent->collection('content', false) : null;
        if ($collection instanceof Collection) {
            return $collection->isFirst($this->path());
        }

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

@return bool True if item is first.
Check to see if this item is the first in an array of sub - pages .