How to remove duplicate phrases from list of dicts? : <p>I have the following method, it takes a list of dicts and returns a new list which contains only dicts with unique <code>phrases</code></p>

<pre><code>@staticmethod
def remove_duplicate_phrases(words: List[Dict[str, Any]]):
    unique_phrases, unique_words = set(), []
    for word in words:
        if word['phrase'] not in unique_phrases:
            unique_phrases.add(word['phrase'])
            unique_words.append(word)
    return unique_words
</code></pre>

<p>Is there any way to make it faster?</p>
