def get_key(*args):
    """Like dict.get but looks up keys in multiple dicts.

    :param key: Key to lookup
    :param dicts: Tuple of dicts to use in lookup
    :param default: If passed return this if lookup fails
    """
    arglen = len(args)
    if not arglen in (2, 3):
        raise ValueError('Must pass at least two args...key and (dicts...)')
    elif arglen == 2:
        key, dicts = args
    else:
        key, dicts, default = args
    value = None
    for d in dicts:
        value = d.get(key, None)
        if value:
            return value
    if 'default' in locals():
        return default
    raise KeyError('{0} does not exist in {1}'.format(key, dicts))
