def has_slot
import cswap-bend-cli@0.1.0.0/importu.bend as Importuimport Base
251def has_slot(+s: String, xs: List<&2, String>) -> Bool:
252 match xs:
253 case Nil{}:
254 False{}
255 case Con{h, t}:
256 String.eq(h, s) || has_slot(s, t)