You could apply a bool on the death check where the items are moved into the bag, sorry I don't know where that's located right now.
If the item is equip and insured or blessed ext, then have a bool for on the object basewearable, would be my guess, for equiptOnRes. That's normally false, unless...