def owner_present
import bendvy-ecs-core@0.1.0.4/component.bend as Componentimport Base
117def owner_present(~C: Type,owner: Maybe<&1,C>) -> Maybe<&1,C> & Bool:
118 match owner:
119 case None{}: (None{},False{})
120 case Some{owner}: (Some{owner},True{})