zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
/**
   * Return true if there is a running or pending paragraph
   */
Return true if there is a running or pending paragraph
Return true if there is a running or pending paragraph
boolean isRunningOrPending() {
    synchronized (paragraphs) {
      for (Paragraph p : paragraphs) {
        Status status = p.getStatus();
        if (status.isRunning() || status.isPending()) {
          return true;
        }
      }
    }
    return false;
  }
boolean isRunningOrPending ( ) { synchronized ( paragraphs ) { for ( Paragraph p : paragraphs ) { Status status = p . getStatus ( ) ; if ( status . isRunning ( ) || status . isPending ( ) ) { return true ; } } } return false ; }
Return true if there is a running or pending paragraph
Return true if there is a running or pending paragraph