My question is, how do you check if all of the elements of a list of lists are in another list of lists? Or maybe better phrased, how do you check if one list of lists is a subset of another list of lists? The answer posted below only works if you have a list of, say, strings but the answer does not work for my situation.
How to check if all items in a list are there in another list?
Something I have tried is something like this:
if all(item in list1 for item in list2):
which does not work.