I actually experimented with this years ago in my drunker days. Basically you use a breathalyzer to make sure you're not too drunk. I'm not a daily drinker and haven't used my breathalyzers in years but it's still a good idea to save you from potential embarrassment.
View: https://www.youtube.com/watch?v=aF8_y2Zl9W8
View: https://www.youtube.com/watch?v=aF8_y2Zl9W8