public boolean isEmpty() {
    acquireReadLock();
    try {
      return internalIsEmpty();
    } finally {
      releaseReadLock();
    }
  }
test hook to see if the queue is empty

@return true if the queue is empty, false if not
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java