how to check if a list is a sublist in python code example
Example: how to check if a list is a subset of another list
if(all(x in test_list for x in sub_list)):
flag = True
if(all(x in test_list for x in sub_list)):
flag = True