def dict_from_list_of_dicts(list_of_dicts, dictionary):
    """
    Check a list of dictionaries to see if another dictionary is a subset of
    any of those dictionaries.

    If it is, return the dictionary from the list (ie. the larger dictionary).
    """
    for d in list_of_dicts:
        # https://stackoverflow.com/a/41579450
        if dictionary.items() <= d.items():
            return d