Trosier-
The DSC module exposes that functionality for you in a VI called Get Process List. If you do not have the DSC module, you can attempt a read on a shared variable and look for error -1950679035 which indicates that the library has not been deployed and then deploy it if you choose.
Xaq