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