Whether key is currently registered.
key
bool contains(TKey key) { return _keyToNid.containsKey(key); }