def is_device
import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Opsimport Base
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend as D
348# ---- where each key runs: the containers on server nodes and on device nodes ----
349def is_device(r: D.Role) -> Bool:
350 match r:
351 case D.Device{}:
352 True{}
353 case D.Server{}:
354 False{}