input: def check_contains(query: str, word: str) -> bool:
      """ Checks if the first string contains the second string.
      >>> check_contains("catering", "cat")
      True
      >>> check_contains("catering", "dog")
      False
      """
      if query.find(word) != -1:
          return True
      return False
  
  result = check_contains(query, word)
output:     return result