$modem->is_active(); # Tests whether modem device is active or not # So far it works for modem OFF/ modem ON condition