public boolean isWaitingQueueEmpty() {
    return queue.isEmpty();
  }
Returns whether we should wake the procedures waiting on the lock here.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/LockAndQueue.java