def foldable
import bend-toon-codec@0.1.0.0/src/fold.bend as Foldimport Base
137# Does this field fold?
138def foldable(+c: Ci, +sibs: List<&2, String>, +prefix: String, +rl: List<&2, String>) -> Bool:
139 U32.is_ge(ci.n(c), 2) && ci.ok(c) && Bool.not(member(ci.key(c), sibs)) && Bool.not(member(path(prefix, ci.key(c)), rl))