has method

bool has(
  1. TKey key
)

Whether key is currently registered.

Implementation

bool has(TKey key) => nids.contains(key);