As far as I can see, there is no way to test if an object is a List instance in Jinja2.
List
Is that correct and has anyone implemented a custom test/extensio
I did it like this:
{% if var is iterable and (var is not string and var is not mapping) %}
You can find a list of all jinja tests here.