Gemstones… Indiana Jones style! How can you tell glass from a real gemstone??? Is there a simple method?

Very shortly I’ll be traveling to Martapura, Indonesia where gems are mined. Many try to sell to you on the street. Most are fakes. Is there a quick way to tell what you’re getting? Is there equipment to do this? I’m willing to buy a magnifying glass, special lens, etc if this helps. The stones mined there are gems and diamonds.