Snap to show if monitor is on or off

Hi, on raspbian I am usign tvservice to check if a montiro or tv is on or off trough hdmi,

take a look at the vc-libs part in

you should be able to create a snap that also includes the tools (by adding an extra part along with vc-libs) so you can have a snap including the tvservice …

alternatively there is probably some way via sysfs or /proc