input: from typing import List
  
  def contains_words(input_string: List[str], words: List[str]) -> bool:
   """ Check if the input string contains all the words in the list.
   >>> contains_words('This is a test', ['test', 'this', 'is'])
   True
   >>> contains_words('Hello world', ['world', 'hello'])
   False
   """
   for word in words:
   if word not in input_string:
   return False
   return True
output:     for word in words:
          if word.lower() not in [x.lower() for x in input_string]:
              return False
      return True