They have alcohol testing strips for breast milk. If I planned on getting tipsy then I’d have enough pumped to last me through the night til morning. Otherwise once you feel sober enough to drive safely then you know you can nurse.
You don’t need to pump & dump. Your body will filter out the alcohol the same way it filters your blood. Nurse or pump before you drink. Then after if you’re okay to drive, you’re okay to nurse.