input: Write a function to determine if a given string (query) contains another string (word). If it contains the word, return True; otherwise, return False.
  assert check_contains("catering", "cat")==True
  assert check_contains("programming", "gram")==True
  assert check_contains("Python", "java")==False
  assert check_contains("algorithm", "algo")==True
  assert check_contains("development", "dev")==True
output: def check_contains(query, word):
      return word in query