[python] Check list of words in another string