class Concurrent::SimpleExecutorService

def shuttingdown?

@!macro executor_service_method_shuttingdown_question
def shuttingdown?
  @running.false? && ! @stopped.set?
end