@ApiStatus.Internal
  public static @NotNull LeafState get(@NotNull Object node) {
    return node instanceof Supplier ? ((Supplier)node).getLeafState() : DEFAULT;
  }
@ApiStatus.Internal
  public static @NotNull LeafState get(@NotNull Object node)