core-bundle/src/Resources/contao/library/Contao/Message.php
public static function hasMessages($strScope=TL_MODE)
	{
		return static::hasError($strScope) || static::hasConfirmation($strScope) || static::hasNew($strScope) || static::hasInfo($strScope) || static::hasRaw($strScope);
	}
public static function hasMessages($strScope=TL_MODE)
	{
		return static::hasError($strScope) || static::hasConfirmation($strScope) || static::hasNew($strScope) || static::hasInfo($strScope) || static::hasRaw($strScope);
	}
public static function hasMessages ( $ strScope = TL_MODE ) { return static :: hasError ( $ strScope ) || static :: hasConfirmation ( $ strScope ) || static :: hasNew ( $ strScope ) || static :: hasInfo ( $ strScope ) || static :: hasRaw ( $ strScope ) ; }
Check if there are any messages

@param string $strScope An optional message scope

@return boolean True if there are messages
Check if there are any messages