def _add_colors_to_scheme(self, color_scheme_plist, colors):
        settings = color_scheme_plist.settings
        scope_exist = False
        updates_made = False

        for color in colors:
            if re.match(r"[0-9a-fA-F]{6}", color) is None:
                print("PersistentRegexHighlight: Invalid color specified - " +
                      color)
                print("Colors should be in the form 'RRGGBB'")
                continue
            scope = "highlight.color." + color.upper()

            for setting in settings:
                if setting in "scope" and setting["scope"] == scope:
                    scope_exist = True
                    break
            if not scope_exist:
                updates_made = True
                entry = {}
                entry["name"] = "Highlight Color " + color
                entry["scope"] = scope
                entry["settings"] = {"foreground": "#" + color}
                settings.append(entry)

        color_scheme_plist.settings = settings
        return updates_made, color_scheme_plist
dataset/ETHPy150Open skuroda/PersistentRegexHighlight/persistent_regex_highlight/color_scheme_manager.py/ColorSchemeManager._add_colors_to_scheme/swapped operands of `in`