Empty
The empty test checks to see if the value is an empty string, an empty array, an empty hash, exactly false, or exactly null.
{% if var is empty %}
...
{% endif %}
The empty test checks to see if the value is an empty string, an empty array, an empty hash, exactly false, or exactly null.
{% if var is empty %}
...
{% endif %}