dry docks without ships are of little direct value. Airstrips equipped with obsolete aircraft are of little value.
Without the battleships, the carriers, cruisers and destroyers of the Pacific fleet parked at Pearl Harbor, the IJN would not have wasted their time with an attack on Pearl Harbor.
I think it’s a silly point, because nobody builds a critical military base without intending to use it. The scale of Pearl Harbor and the scale of the destruction wrought there dwarfs Sumter and it’s zero casualties.