We have that already in master: https://github.com/zendframework/ZendDiagnostics/blob/master/src/ZendDiagnostics/Check/ExtensionLoaded.php