Implement a Python function that will take two strings and return true if the first string contains the second.
query = "catering"
word = "cat"
def check_contains(query, word): 
    if query.find(word) != -1:
        return True
    return False

result = check_contains(query, word)