def cloud_ok
import near-v-framework@0.4.0.0/domain/architecture/environment/inventory/ops.bend as Opsimport Base
import near-v-framework@0.4.0.0/domain/architecture/environment/inventory/type.bend as I
17# Whether this provider is the owner's vendor's cloud.
18def cloud_ok(inv: I.Inventory, +provider: String) -> Bool:
19 match inv:
20 case I.Inventory{I.Vendor{_, cloud}, _}:
21 String.eq(provider, cloud)