Luup for checking PlayState

I have some TTS alerts that play through Sonos using PLEG that I would like to suppress when any Sonos device is playing something. I have three Sonos devices.

Initially, I was going to bring the Sonos PlayState in as a trigger, but since I’m using it only to suppress TTS alerts, I though it would be better handled with Luup.

Can anyone let me know what those statements would look like? I’m not a programmer.

TIA!