Tweak is_runtime to work on JVM also.

Previous approach relied on Parrot namespaces, of all things.