def in_names
import bend-schema-lib@0.4.1.0/core.bend as Coreimport Base
239def in_names(+x: String, names: List<&2, String>) -> Bool:
240 match names:
241 case Nil{}:
242 False{}
243 case n <> t:
244 Bool.or(String.eq(x, n), in_names(x, t))