Checks if an extension with the given ID is registered.
Example:
if (controller.hasExtension('undo-redo')) { // Undo/redo is available }
bool hasExtension(String id) => _extensions.any((e) => e.id == id);