Sure there is. Buy reputable brands from reputable marketplaces that clearly state the specs, and if you get products from them that don't comply stop buying from them.
I'd call that trial and error.
I'd call that trial and error.