jl_is_leaf_type static eval take 2