input: Write a function to implement a Python function that will take two strings and return true if the first string contains the second.
  def check_contains(query, word):
      if query.find(word) != -1:
          return True
      return False
  
  assert check_contains("catering", "cat")==True
  assert check_contains("leap", "ear")==False
  assert check_contains("python", "on")==True
  assert check_contains("challenge", "ng")==True
  assert check_contains("code", "oded")==False
output: def check_contains(query, word):
      if query.find(word) != -1:
          return True
      return False