public boolean isRunning() {
    return !isStopped;
  }
ThreadPoolExecutor extension which is stopped by default and can be started & stopped.
ambari-server/src/main/java/org/apache/ambari/server/utils/ManagedThreadPoolExecutor.java