''

def is_enabled(self):

    state = False
    if stino.arduino_info[u'init_done']:
        build_enabled = stino.arduino_info[u'settings'].get(u'build_enabled')
        if build_enabled:
            file_path = self.view.file_name()
            if file_path:
                if stino.c_file.is_cpp_file(file_path):
                    get_info = stino.selected.get_sel_board_info
                    info = get_info(stino.arduino_info)
                    if info:
                        state = True
    return state
