def _is_number_possible_for_desc(national_number, number_desc):
    if number_desc is None:
        return False
    possible_re = re.compile(number_desc.possible_number_pattern or U_EMPTY_STRING)
    return fullmatch(possible_re, national_number)
dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py/_is_number_possible_for_desc/original