@register.filter(name='lookup')
def lookup(lookup_in, index):
    if index in lookup_in:
        return lookup_in[index]
    return ''
dataset/ETHPy150Open ofri/Open-Knesset/auxiliary/templatetags/lookup.py/lookup/original