How Can I check if Flash Exists

How can i check in .volt files if flash message exists or not to show html.

Check the Session::has() method:

https://docs.phalcon.io/latest/en/api/Phalcon_Flash_Session

{% if flashSession.has() %}
{{ flashSession.output() }}
{% endif %}