src/Tao/Templating/Helpers/TitleTag.php
public function has($sTitle = null)
	{
		if (null === $sTitle) {
			return !empty($this->aTitles);
		}

		return isset($this->aTitles[$sTitle]);
	}
public function has($sTitle = null)
	{
		if (null === $sTitle) {
			return !empty($this->aTitles);
		}

		return isset($this->aTitles[$sTitle]);
	}
public function has ( $ sTitle = null ) { if ( null === $ sTitle ) { return ! empty ( $ this -> aTitles ) ; } return isset ( $ this -> aTitles [ $ sTitle ] ) ; }
Indicate if a given title tag exists or if there are items in the titles tag stack.

@param string $sTitle
@return boolean
Indicate if a given title tag exists or if there are items in the titles tag stack .