And even if you can prove it, that information is worthless, since any check that a program is running is subject to a race condition - the moment you've detected the running program, it might terminate, leaving you with incorrect information.

That said, I disagree that detecting a previous instance is useless. Many large applications (e.g. Firefox) do it and react by instructing the running instance to create a new window.