nltk.defaultdict.has_key

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