input: Write a function to determine if the first string contains the second string. If the first string contains the second string return True, otherwise return False.
  
  def check_contains(query, word):
      if query.find(word) != -1:
          return True
      return False
  
  assert check_contains("catering", "cat") == True
  assert check_contains("elephant", "ant") == True
  assert check_contains("apple", "pineapple") == False
  assert check_contains("programming", "gram") == True
  assert check_contains("hello", "world") == False
output: def check_contains(query, word):
      if query.find(word) != -1:
          return True
      return False