def belongs
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend as Opsimport Base
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/type.bend as ND
120def belongs(l: ND.Listening, +keys: List<&2, String>) -> Bool:
121 match l:
122 case ND.Listening{_, +o}:
123 String.eq(o, "macos") || List.contains(~String, ~String.eq, keys, o)