code: public static boolean isObjectRegistered(String id, Object obj) {
      return DefaultMonitorRegistry.getInstance().isRegistered(newObjectMonitor(id, obj));
    }
docs: Check whether an object is currently registered with the default registry.