containsInstance method
Whether instance
is contained in this manager.
Implementation
bool containsInstance(Object instance) {
if (instance is num || instance is bool || instance is String) return false;
return _instanceIds[instance] != null;
}