a variation of that theme is to use a soda bottle with a little soda left in it at picnics. the yellow jackets can get right in, but cannot escape.
Sure, they can. When you take a drink of your soda, they come right out. Learned the hard way. OUCH!