Contao\Message::hasInfo PHP Метод

hasInfo() публичный статический Метод

Check if there are info messages
public static hasInfo ( string $strScope = TL_MODE ) : boolean
$strScope string An optional message scope
Результат 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));
    }