template if statement not working

Greetings,
why is this not working? Showing no

        {% if 'Авария' in databad %} 
        yes
        {% else %}
        no
        {% endif %}

raw value of {{ databad }} :

['Автомат-ворота, Авария, ']

update:
This giving yes

{% if 'Автомат-ворота, Авария, ' in databad %} 

But i need substring

{% if 'Авария' in databad|first %}