I can't totally figure out how this will work, but Frito Lay announced that a new 'Party Bag' from Tostitos will soon be available and able to help you figure out if you've had too much.
Reportedly, the bag comes equipped with a sensor that can detect a certain level of alcohol on your breath as you eat. If it's high the sensor is activated and the bag lights up with a warning about drinking and driving as well as an Uber code.
As Uproxx points out though, if you're talking to a chip bag, you might already be to the point where you need to call some assistance.