def METHOD_NAME(domain):
    if domain.internal.business_unit:
        return domain.internal.business_unit
    elif domain.deployment.countries:
        return BU_MAPPING.get(domain.deployment.countries[0], NO_BU)
    else:
        return NO_BU