public static boolean isOssBuild(){
  boolean isOssBuild=false;
  String buildType=System.getProperty("buildType");
  if (StringUtils.isNotBlank(buildType) && buildType.equalsIgnoreCase("oss")) {
    isOssBuild=true;
  }
  return isOssBuild;
}

public static boolean isOssBuild ( ) { boolean isOssBuild = false ; String buildType = System . getProperty ( "buildType" ) ; if ( StringUtils . isNotBlank ( buildType ) && buildType . equalsIgnoreCase ( "oss" ) ) { isOssBuild = true ; } return isOssBuild ; }
checks if the build is a open source build or emc enterprise build
