public static boolean isValidServiceId ( String name ) { return name != null && name . length ( ) > 0 && SERVICE_ID_REGEX . matcher ( name ) . matches ( ) && Character . isLetter ( name . charAt ( 0 ) ) ; }
Checks whether the given name is a valid service identifier .