For organ, hiding just empty pedal staves

In 3-staff organ literature (2 for the manuals, 1 for the pedals) is it possible to hide only empty pedal staves? And not hide empty manual staves?

If you insert system breaks you can for each break specify what to display

Here I have hidden 3 staff (pedal).

There might be a better and more automated way, but I don’t know of them. Perhaps someone more clever can suggest a method for that.

N.B. I reset to full visibility on the 3rd system break, that’s why an empty pedal appears on the 3rd system. (In general, visibility is as set, until it is (re)set again later in the piece).