How to detect "Installed elements"

Hi everyone

How can I check that LO help or the SDK are locally installed?
Any configuration information stating such?

Note that LibreOffice itself uses “construct path and check if it exists” approach to answer “is local help installed”. See impl_hasHelpInstalled and impl_hasHTMLHelpInstalled implementations there.

I don’t think there is any code in the codebase to check if SDK is installed. IIUC it is not used by LibreOffice itself for any purpose.

The unoidl-write executable is installed automatically with the SDK; you might want to check whether it’s there or not.