question: static boolean isViablePhoneNumber ( String number ) { if ( number . length ( ) < MIN_LENGTH_FOR_NSN ) { return false ; } Matcher m = VALID_PHONE_NUMBER_PATTERN . matcher ( number ) ; return m . matches ( ) ; }
target:  Checks to see if the string of characters could possibly be a phone number at all. At the moment, checks to see that the string begins with at least 2 digits, ignoring any punctuation commonly found in phone numbers. This method does not require the number to be normalized in advance - but does assume that leading non-number symbols have been removed, such as by the method extractPossibleNumber.