Could you come up with a function in Python that removes all occurrences of the word 'impossible' from the given string?
"It was impossible to find the answer."
def remove_word(text):
    return text.replace('impossible', '')