Contao\Message::hasInfo PHP Method

hasInfo() public static method

Check if there are info messages
public static hasInfo ( string $strScope = TL_MODE ) : boolean
$strScope string An optional message scope
return boolean True if there are info messages
    public static function hasInfo($strScope = TL_MODE)
    {
        return \System::getContainer()->get('session')->getFlashBag()->has(static::getFlashBagKey('info', $strScope));
    }