If you want to know if another application is open? then here is the solution

Findwindow
HTH