Fortunately, a group of physicists at the University of St. Andrews in Scotland have come up with a solution: lasers. Using a cone-shaped lens, the team found they could shine a laser light into sealed bottles of whiskey and determine the chemical composition of the liquid based on the wavelengths the light produced.
The cone-shaped lens was the key to their breakthrough, as it allowed the light to be shone as a ring rather than a direct beam, therefore ensuring that the chemical makeup of the bottle itself didn’t interfere with their reading of what was inside. As a bonus, they found that this technique also worked with bottles of gin and vodka.