def _is_shorter_than_possible_normal_number(metadata, number):
    """Helper method to check whether a number is too short to be a regular
    length phone number in a region.
    """
    possible_number_pattern = re.compile(metadata.general_desc.possible_number_pattern or U_EMPTY_STRING)
    return (_test_number_length_against_pattern(possible_number_pattern, number) not in
            ValidationResult.TOO_SHORT)
dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/phonenumbers/phonenumberutil.py/_is_shorter_than_possible_normal_number/operator `==` -> `not in`