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
Convert your sublists to tuples, for example:
In [2]: a = [[2,3],[5,6],[8,9]] In [3]: b = [[2,3],[5,6],[8,9], [10,11]] In [4]: set(tuple(x) for x in a).issubset(tuple(x) for x in b) Out[4]: True