question: public boolean isEmpty ( ) { if ( lastBatch != null ) { if ( ! lastBatch . isEmpty ( ) ) { return false ; } } return currentBatch . isEmpty ( ) ; }
target:  Returns true if the window is empty, or false if not empty.