{% if 'sensitivity' in dict_inputs[each_input.device]['options_enabled'] %} {% if dict_inputs[each_input.device]['sensitivity']|length == 1 %}