public boolean isLocked() {
    return !deque.isEmpty();
  }
{@link PipeTaskCoordinatorLock} is a cross thread lock for pipe task coordinator. It is used to
ensure that only one thread can execute the pipe task coordinator at the same time.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/coordinator/task/PipeTaskCoordinatorLock.java