def f1():
    [item for item in my_list if any(x in item for x in bad)]

def f2():
    [i for e in bad for i in my_list if e in i]
timeit.Timer(f1).timeit()
timeit.Timer(f2).timeit()
Check if list item contains items from another list