Dress Codes Part 2: Cocktail

Is anything cocktail attire, as long as you have a cocktail in your hand whilst wearing it?