def lookup(value, key):
    try:
        return value[key]
    except KeyError:
        return ""
Return a dictionary lookup of key in value
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/satchmo_store/shop/templatetags/satchmo_util.py/lookup