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