public static boolean isValidClassName(String className){
  if (className.indexOf('(') >= 0) {
    return false;
  }
  return true;
}

public static boolean isValidClassName ( String className ) { if ( className . indexOf ( '(' ) >= 0 ) { return false ; } return true ; }
return whether or not the given class name is valid .
