has<T> method

bool has<T>()

Implementation

bool has<T>() {
  return _registered.containsKey(T);
}