def index_in_list(self, url, conf=None):
        if conf == None:
            conf = sublime.load_settings(CONFIG_BASE_NAME)

        url_list = [item[0] for item in conf.get('urls', [])]
        return url_list.index(url) if url in url_list else -1
dataset/ETHPy150Open miusuncle/HiveOpener/add_context_url.py/HiveAddContextUrlBaseCommand.index_in_list/original