Burlap and Barrel tests their turmeric for lead and publishes the results. It’s a lot more expensive than Indian store turmeric, but personally I’m no longer willing to buy untested turmeric.
(Relatedly, Lundberg publishes the arsenic levels of their brown rice, so that’s basically the only brand of rice I buy any more.)
Except that it's a different ingredient, that tastes different and works differently. I still use cayenne for some things even though I have fresh chile peppers I don't put fresh ginger in ginger snaps etc.
I wouldn’t call it trivial, no. Pre-boiling it only removes about 50% of the arsenic. If you start with US rice from arsenic-poisoned soils, after boiling the rice you can still have more arsenic in it than rice that had lower levels to start with (even when cooked traditionally).
(Relatedly, Lundberg publishes the arsenic levels of their brown rice, so that’s basically the only brand of rice I buy any more.)