def _first_among_in(keys, values_dict ):
    """
    return the value associated with the first key present in values_dict
    """
    for k in keys:
        if k in values_dict:
            return values_dict[k]
    return None