Is scene active

Scenes are not “active” or “inactive”. They are instant events that affect the state of your devices, and then they are finished.

If you want to know if the states that your devices are in matches what the scene set them to, you’ll have to query each device individually, and apply whatever logic you need to the results.

Full disclosure: Vera (UI5 particularly, I haven’t seen this in UI7) has some logic that attempts to do the above for simple scenes, but I never found that it worked well, and it’s definitely not exposed through Luup, so you’re back to doing it yourself manually.