def eligible
import bend-toon-codec@0.1.0.0/src/expand.bend as Expandimport Base
import bend-toon-codec@0.1.0.0/src/split.bend as S
import bend-toon-codec@0.1.0.0/src/fold.bend as K
28# A bare key with a dot and only identifier segments expands.
29def eligible(+k: String) -> Bool:
30 K.has_dot(k) && all_ident(S.split(k, 46))