isRegistered<T> static method
Check if a type is registered without throwing an exception Useful for conditional logic and debugging
Parameters:
name: Optional name qualifier for named instances
Implementation
static bool isRegistered<T>({String? name}) => registry.containsKey(SpotKey<T>(T, name));