input: Write a function that checks if one string contains another. Return True if the first string contains the second; 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("python", "on") == True
  assert check_contains("programming", "gram") == True
  assert check_contains("hello", "world") == False
  assert check_contains("example", "mple") == True
output: def check_contains(query, word): 
      if query.find(word) != -1:
          return True
      return False