Best way to trust the source of it is to consume it in its root form. There are many powders that are laced with lead. Buying it in natural root form (like Ginger) won’t contain any lead.
To increase it’s ability to reach your blood circulation (bioavailability), it’s best to consume it with black pepper
To consume as a supplement, pick a brand that’s been cleared by a third-party lab . Some brands that have been known to be solid are Thorne and Pure Encapsulations. Here’s a good one - Thorne Meriva https://well.ca/products/thorne-research-meriva-sf_144267.html