def guard_condition
import bendvy-ecs-core@0.1.0.3/dependency_application.bend as DependencyApplicationimport Base
import bendvy-ecs-core@0.1.0.3/dependency_executor.bend as Exec
42def guard_condition(~Error:Data,allowed:Bool) -> Exec.Condition<Error>:
43 match allowed:
44 case True{}:Exec.Allowed{}
45 case False{}:Exec.Disabled{}