''

def is_enabled(self):

    state = False
    if stino.arduino_info[u'init_done']:
        file_path = self.view.file_name()
        if (file_path and stino.c_file.is_cpp_file(file_path)):
            dir_path = os.path.dirname(file_path)
            conf_file_name = u'config.stino-settings'
            conf_file_path = os.path.join(dir_path, conf_file_name)
            if os.path.isfile(conf_file_path):
                state = True
    return state
