@register.filter
def array_lookup(array, index):
    if index < len(array):
        return array[index]
Converts a django request MutliValueDict (e.g., request.GET,
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/templatetags/report_tags.py/array_lookup--crossover with--dataset/ETHPy150Open adieu/python-openid/examples/djopenid/util.py/normalDict