public function hasChildren($ignoreDeleted = true)
    {
        if ($ignoreDeleted) {
            return $this->hasMainSection() ? $this->getMainSection()->getHasChildren() : false;
        }

        return $this->hasMainSection() ? $this->getMainSection()->hasChildren() : false;
    }
public function hasChildren($ignoreDeleted = true)
    {
        if ($ignoreDeleted) {
            return $this->hasMainSection() ? $this->getMainSection()->getHasChildren() : false;
        }

        return $this->hasMainSection() ? $this->getMainSection()->hasChildren() : false;
    }
public function hasChildren ( $ ignoreDeleted = true ) { if ( $ ignoreDeleted ) { return $ this -> hasMainSection ( ) ? $ this -> getMainSection ( ) -> getHasChildren ( ) : false ; } return $ this -> hasMainSection ( ) ? $ this -> getMainSection ( ) -> hasChildren ( ) : false ; }
Has the page children?

@return boolean

@Serializer\VirtualProperty
@Serializer\Type("boolean")
Has the page children?