I have a python dictionary:
settings = { "foo" : "baz", "hello" : "world" }
settings
myProperty
{% if settings.hasKey(myProperty) %} takeSomeAction(); {% endif %}
hasKey
This works fine
{% if settings.myProperty %}