The author wrote in that topic it’s is pretty complicated to check the state of Homey z-wave.
But I was under the impression it could list unreachable nodes f.i.
There’s a nice script, aimed at zigbee, which checks the last updated flag, which can be a good indicator of a device still being alive
Maybe you can adjust it, to have it check z-wave devices: