Page::hasSubpages() 

\nn\t3::Page()->hasSubpages($pid = NULL); 

Checks whether a page has submenus

\nn\t3::Page()->hasSubpages();
Copied!

| @return boolean

Source Code 

public function hasSubpages( $pid = null ) {
	return count( $this->getSubpages($pid) ) > 0;
}
Copied!