input: Write a function to determine if a given query string contains a specified word.
  
  def check_contains(query, word): 
      if query.find(word) != -1:
          return True
      return False
  
  assert check_contains("catering", "cat")==True
  assert check_contains("programming", "gram")==True
  assert check_contains("python", "java")==False
  assert check_contains("framework", "work")==True
  assert check_contains("book", "books")==False
output: def check_contains(query, word): 
      if query.find(word) != -1:
          return True
      return False