{% if misp_instances_settings|length > 1 %}

{%for name in misp_instances_settings %}
{%endif%}
{%for name, misp_settings in misp_instances_settings.items() %}
{% if misp_settings.existing_event %}

There is already an event on your MISP instance with this lookyloo capture.

{% endif %} {% if has_parent %}
{% endif %}
{%endfor%}