The task is to check for the presence of a word from an array in a string.
str = 'Dear friends, the new model of organizational activity contributes to the preparation and implementation of the personnel training system.'
stop_words = [ 'training', 'moonshine']
if all(stop_words in str):
print('Find stop word')
else:
print('All goods, no stop words')
Here python says that he can't compare it. Tell me plese what are the solutions?