nltk.Trie.has_key

Trie.has_key(k) → True if D has a key k, else False