check if list is part of list python code example Example: python all elements in list in another list set(['a', 'b']).issubset(['a', 'b', 'c'])