def is_possible_number_string(number, region_dialing_from):
    try:
        return is_possible_number(parse(number, region_dialing_from))
    except NumberParseException:
        return False
Check whether a phone number string is a possible number.
dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py/is_possible_number_string