Python — Check if all items in a list are in a string

Please let me know if you have a better solution:

target = 'Some Thing'
items = ['Some','Thing']
all(map(lambda x: x in target, items))

Leave a Comment