input: Write a function that takes two strings as input and returns True if the first string contains the second string, otherwise returns False.
  
  
  def check_contains(query, word):
      if query.find(word) != -1:
          return True
      return False
  
  assert check_contains("catering", "cat") == True
  assert check_contains("programming", "pro") == True
  assert check_contains("hello", "world") == False
  assert check_contains("python", "on") == True
  assert check_contains("", "a") == False
  
output: def check_contains(query, word):
      if query.find(word) != -1:
          return True
      return False