def get_context_first_matching_object(context, context_lookups):
    """
    Return the first object found in the context,
    from a list of keys, with the matching key.
    """
    for key in context_lookups:
        context_object = context.get(key)
        if context_object:
            return key, context_object
    return None, None
