code: public static function hasMessages($strScope=TL_MODE)
  	{
  		return static::hasError($strScope) || static::hasConfirmation($strScope) || static::hasNew($strScope) || static::hasInfo($strScope) || static::hasRaw($strScope);
  	}
docs: Check if there are any messages
  
  @param string $strScope An optional message scope
  
  @return boolean True if there are messages