We try and use `var foo = actor.TraitOrDefault<Trait>())` followed by `if (foo != null)` to avoid unnecessary trait lookups. Ideally the TraitOrDefault would be done once during setup and cached.