Habari\Session::has_messages PHP Method

has_messages() public static method

Determine if there are messages that should be displayed Messages are not cleared when calling this function.
public static has_messages ( ) : boolean
return boolean true if there are messages to display.
    public static function has_messages()
    {
        return count(self::get_notices(false)) + count(self::get_errors(false)) ? true : false;
    }