has_network in mysql_virtual_sensor.py