Checks if an interface with the given Type T and key exists.
T
key
bool exists<T>([String? key]) { return _interfaces[InterfaceKey<T>(key)] != null; }