

def _is_leading_zero_possible(country_code):
    'Checks whether the country calling code is from a region whose national\n    significant number could contain a leading zero. An example of such a\n    region is Italy.  Returns False if no metadata for the country is found.'
    region_code = region_code_for_country_code(country_code)
    metadata = PhoneMetadata.metadata_for_region_or_calling_code(country_code, region_code)
    if (metadata is None):
        return False
    return metadata.leading_zero_possible

dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py _is_leading_zero_possible/original