How do you determine if a thread is running?
You can use: Thread.currentThread().isAlive();. Returns true if this thread is alive; false otherwise.
Thread.currentThread().isAlive();