src/Message.php
static public function hasInfo(): bool
    {
        if (!isset($_SESSION[self::INFORMATION])) {
            return false;
        }
        return count($_SESSION[self::INFORMATION]) > 0;
    }
static public function hasInfo(): bool
    {
        if (!isset($_SESSION[self::INFORMATION])) {
            return false;
        }
        return count($_SESSION[self::INFORMATION]) > 0;
    }
检查有没有提示消息
@return boolean