In some areas of the country it's not okay to smoke in a restaurant, but it's okay to eat in a cigar lounge.
How do they tell?
Revenue.
Basically it's where your income is from. If it's mostly from food, it a restaurant; if it's mostly from tobacco, you're okay.
To make it work out, they'll usually overcharge for cigars or tac on a "clipping fee" to cut your cigar.
.