public static boolean isEnterpriseEdition(String serverVersion){
  return serverVersion.contains("enterprise") || serverVersion.contains("commercial") || serverVersion.contains("advanced");
}

public static boolean isEnterpriseEdition ( String serverVersion ) { return serverVersion . contains ( "enterprise" ) || serverVersion . contains ( "commercial" ) || serverVersion . contains ( "advanced" ) ; }
checks whether the given server version string is a mysql enterprise edition
