def _is_shorter_than_possible_normal_number(metadata, number):
 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) == ValidationResult.TOO_SHORT)

def _is_shorter_than_possible_normal_number ( metadata , number ) : 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 ) == ValidationResult . TOO_SHORT )
helper method to check whether a number is too short to be a regular length phone number in a region .