@validator
def fi_business_id(business_id):
    if not business_id or not re.match(business_id_pattern, business_id):
        return False
    factors = [7, 9, 10, 5, 8, 4, 2]
    numbers = map(int, business_id[:7])
    checksum = int(business_id[8])
    sum_ = sum(f * n for f, n in zip(factors, numbers))
    modulo = sum_ % 11
    return (11 - modulo == checksum) or (modulo == 0 and checksum == 0)
get_config([extrafiles], [initdict=], [**kwargs])
dataset/ETHPy150Open SickRage/SickRage/lib/validators/i18n/fi.py/fi_business_id--crossover with--dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/config.py/get_config