Problem
Many extensions use ExtensionRegistry::isLoaded() to determine if another extension is loaded or not. Since the class is a singleton, it requires SpecialPages, HookHandlers, or API Modules to use a factory in order to inject the registry or they can use it directly which makes testing more difficult.
Proposed Solution
Create a new service that will replace ExtensionRegistry::isLoaded()