public synchronized boolean isIdle() {
      if (!isRunning()) {
        idle = true;
        synchronized (idleSync) {
          idleSync.notifyAll();
        }
      }
      return idle;
    }
Have all commands completed executing ?

@return Shell idle ?
imitate/src/main/java/com/engineer/imitate/shell/Shell.java