def safe_display_name(numobj, lang, script=None, region=None):
 if is_mobile_number_portable_region(region_code_for_number(numobj)):
  return U_EMPTY_STRING
 return name_for_number(numobj, lang, script, region)

def safe_display_name ( numobj , lang , script = None , region = None ) : if is_mobile_number_portable_region ( region_code_for_number ( numobj ) ) : return U_EMPTY_STRING return name_for_number ( numobj , lang , script , region )
gets the name of the carrier for the given phonenumber object only when it is safe to display to users .