def admitted
import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as ExecutionLifecycleNoticesimport Base
103def admitted(same:Bool,active:Bool) -> Maybe<&2,Refusal>:
104 match same active:
105 case False{} _:Some{ForeignWorld{}}
106 case True{} False{}:Some{Inactive{}}
107 case True{} True{}:None{}