input: Write a function that takes two strings and returns True if the first string contains the second, otherwise returns False. The function should be named `check_contains`, taking two parameters `query` and `word`. It should return True if `word` is a substring of `query`, and False otherwise.
  assert check_contains("catering", "cat") == True
  assert check_contains("astronomy", "nom") == True
  assert check_contains("banana", "apple") == False
  assert check_contains("elephant", "ant") == True
  assert check_contains("programming", "gram") == True
output: def check_contains(query, word):
      return word in query