''

def is_enabled(self):

    state = False
    if stino.arduino_info[u'init_done']:
        use_network_port = stino.arduino_info[u'selected'].get(u'use_network_port', False)
        serial_port = stino.arduino_info[u'selected'].get(u'serial_port', u'')
        if ((not use_network_port) and serial_port and stino.serial_port.is_available(serial_port)):
            monitor = stino.arduino_info[u'serial_monitors'].get(serial_port, None)
            if ((not monitor) or (not monitor.is_running())):
                state = True
    return state
