is_bot
. Если True - то это бот.message.reply_to_message.from_user.username
text = 'The quick brown fox jumps over the lazy dog'
checklist = {'fox', 'dog', 'cat'}
common_words = set(text.split()) & checklist
print(common_words)
{'fox', 'dog'}