A "correct" way to detect if SolidWorks is installed...

Is there a "correct" way to detect (through code) if SolidWorks is installed?

Thanks in advance.

-Nate

SolidworksApi macros