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();
}

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 ( ) ; }
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 .
