private boolean valid(String s){
  return !Character.isAlphabetic(s.charAt(0));
}

private boolean valid ( String s ) { return ! Character . isAlphabetic ( s . charAt ( 0 ) ) ; }
tests if a string is a valid vlan id
