public boolean isEmpty() {
    return head == null;
  }
Gets whether the queue is empty.

@return whether the queue is empty
imagepipeline-base-test/src/main/java/com/facebook/imagepipeline/testing/DeltaQueue.java