public static bool IsRegistered <T>(this ISimpleContainer container) { return(container.IsRegistered(new TypeRegistrationKey(typeof(T), null))); }