How can I efficiently check if a string is a substring of any a given strings?
The naive way would be:
def is_substring_of_any(phrase, known_phrases):