def _is_national_number_suffix_of_other(numobj1, numobj2):
    nn1 = str(numobj1.national_number)
    nn2 = str(numobj2.national_number)
    # Note that endswith returns True if the numbers are equal.
    return nn1.endswith(nn2) or nn2.endswith(nn1)
Like the default ``url()``, but can be called without arguments,
dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py/_is_national_number_suffix_of_other--crossover with--dataset/ETHPy150Open ericholscher/django-test-utils/test_utils/utils/twill_runner.py/url