public boolean isTerminated() {
    return scheduler.isTerminated();
  }
Returns true when the service is shutdown and all threads have terminated
hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java