if your not openly beligerant drunk, walking around with an open bottle, and acting like an idiot, chances are your ok.
If you put it in a cup, there's nothing they can say.
I've been stopped before because I have walked with a bottle, not trying to hide it at all and the cops will told me to finish it or throw it away.