Unless it's a seaside place where they're definitely cooking the lobsters as they're ordered, I NEVER order whole lobster in a restaurant.
In fact, the one & only time I ever got sick from a lobster was years ago & when hubby & I (for one of the last times) dined at a "Red Lobster" during one of their "Lobster Fests". They obviously cook the lobsters ahead of time & keep them under those infrared heat lamps. The claws were so hard that we had to send them back for the kitchen to open. Figure they took them out back & drove over them with a truck. In hindsight, we should have sent my lobster back, but we persevered on. I ended up with severe gastrointestinal distress that night that I totally attribute to that obviously too-long-held lobster.