@ApiStatus.Internal
  public static @NotNull LeafState get(@NotNull Object node, @NotNull TreeModel model) {
    LeafState state = get(node);
    return state != DEFAULT ? state : model.isLeaf(node) ? ALWAYS : NEVER;
  }
@ApiStatus.Internal
  public static @NotNull LeafState get(@NotNull Object node, @NotNull TreeModel model)