discover/sysinfo: Add network availability helper