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

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 .