How? Seriously, if you don't trust a hardware switch to work as advertised, then you probably don't trust software correctly to report the state of the hardware; so what would you trust? (I wish that I could say that I think you're being paranoid, but I don't; I just wonder what a zero- or minimal-trust proof of disconnected hardware would look like—short, presumably, of something like a visible air gap that could only be implemented at considerable expense to the portability of modern electronics.)