boolean isEmpty(@NotNull ToolWindowAnchor anchor) {
    for (int i = stack.size() - 1; i > -1; i--) {
      WindowInfoImpl info = stack.get(i);
      if (anchor == info.getAnchor()) {
        return false;
      }
    }
    return true;
  }
boolean isEmpty(@NotNull ToolWindowAnchor anchor)