Possible to use scene state in automation conditions?

Hi everyone,
Is it possibly to use the state of a scene (on/off) in the conditions section of an automation?
There are automations I do not want to execute if a certain scene is active.
This is in relation to my other post.

I think as a scene can only be switched on but not off this does not work. But you could use a switch or input boolean.