Button highlighted for muting midi output port in show notes view

Hi, I have a request. I’m using a pad controller (pd steinberg) to switch on or off a midi output port. So I can add an additionnal sound during a solo, no need to load a new state.
My request is: To add a button in the show notes view that is highlighted if i switch this specific midi output port on or off.
It’s only to view the state of the midi output port.
Best regards