boolean isApplied(@NotNull ToolWindow window) {
      ToolWindowType type = window.getType();
      return switch (this) {
        case DockPinned -> type == ToolWindowType.DOCKED && !window.isAutoHide();
        case DockUnpinned -> type == ToolWindowType.DOCKED && window.isAutoHide();
        case Undock -> type == ToolWindowType.SLIDING;
        case Float -> type == ToolWindowType.FLOATING;
        case Window -> type == ToolWindowType.WINDOWED;
      };
    }
boolean isApplied(@NotNull ToolWindow window)