def METHOD_NAME(instance):
    region = getattr(instance, "region", None)
    if not region:
        return None
    if isinstance(region, str):
        return region.split(":")[1]
    return region.name