Add hasProperties helper for handlebars to use in flash messages partial