public boolean isIdle() {
    return deltaQueue.isEmpty() || deltaQueue.delay() > 0;
  }
Gets whether the queue is idle.

@return whether there are no more items in the queue that are ready to be processed
imagepipeline-base-test/src/main/java/com/facebook/imagepipeline/testing/ScheduledQueue.java