I have an app which is installing a system extension. On startup I want to know if it's already been installed or not (because if it hasn't I want to show some information to the user).
I have not been able to find an ObjC or Swift method that allows me to ask if a given extension has been installed.
I know I can run systemextensionctl list
and parse the output but I don't want to have to fork a shell command if I don't have to.