def match_list(query_list, string):
<EOL>match = False<EOL>index = <NUM_LIT:0><EOL>string = '<STR_LIT:U+0020>'.join(filter_stopwords(string))<EOL>if not isinstance(query_list, list):<EOL><INDENT>query_list = [query_list]<EOL><DEDENT>while index < len(query_list):<EOL><INDENT>query = query_list[index]<EOL>words_query = filter_stopwords(query)<EOL>match = all(word in string for word in words_query)<EOL>if match:<EOL><INDENT>break<EOL><DEDENT>index += <NUM_LIT:1><EOL><DEDENT>return match<EOL>
Return True if all words in a word list are in the string.

    :param query_list: list of words to match
    :param string: the word or words to be matched against