The only surefire way is to make sure that it has a lab report, or to get it tested by an accredited gem lab or a certified appraiser who has a gemology degree. Sapphires and diamonds have a different refractive index and hardness level, but it's hard for the consumer to test those factors.