code: public static boolean isValidServiceId(String name) {
          return name != null && name.length() > 0 && SERVICE_ID_REGEX.matcher(name).matches() && Character.isLetter(name.charAt(0));
      }
docs: Checks whether the given name is a valid service identifier.
  
  @param name The name
  @return True if it is