def METHOD_NAME(
    self, args_elections, importer_elections, regex
):
    for election in args_elections:
        if regex:
            if match_in(election, importer_elections):
                return True
        else:
            if election in importer_elections:
                return True
    return False