title: Python/win32com - Check if Program is Open
body: <p>I have a script where I use win32com to interact with a COM service.  It works as intended when the program is already open.  I connect to it using win32com.client.dynamic.Dispatch, then interact with a document that should already be open.  Assuming the program is already open, I can easily check if a document is open, but I'm not sure how to check if the program is already open or not.  When I use the Dispatch mentioned, it just starts the program if it isn't already open, which is not what I want.</p>