This issue is discussed in prior threads. There was a fatal tragedy about twenty years back which is why the hut was outfitted in the way you see now. You can read some of this material (and prior debates over issue of whether to go in the hut or down the mountain) here

Lightning Lesson

Is the Mt. Whitney Shelter usually open

Thunderstorms on Whitney?

Lightning