def is_possible_short_number(numobj):
    region_codes = region_codes_for_country_code(numobj.country_code)
    short_number = national_significant_number(numobj)

    for region in region_codes:
        metadata = PhoneMetadata.short_metadata_for_region(region)
        if metadata is None:
            continue
        if _is_number_possible_for_desc(short_number, metadata.general_desc):
            return True
    return False
Test the binize unbinize functions
dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/shortnumberinfo.py/is_possible_short_number--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/test/test_byting.py/BasicTestCase.testBinizeUnbinize