how to check for if another thread is running java code example Example: java check if thread is running Thread.isAlive()