def is_mobile_number_portable_region(region_code):
    metadata = PhoneMetadata.metadata_for_region(region_code, None)
    if metadata is None:
        return False
    return metadata.mobile_number_portable_region
Returns true if the supplied region supports mobile number portability.
dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py/is_mobile_number_portable_region