How do I check whether the local service inside my application is running?
You don't. You just start it or bind to it as needed.