/** * Checks the existence of the webkit library on ubuntu 16 or ubuntu 14 . * * @return 'true' if the webkit library is not present in ubuntu 16 or ubuntu 14 , 'false' otherwise. */ public synchronized boolean isWebkitUnavailable() { String path = getWebkitPath(); String osName = getEnvironmentName(); return ( ( path == null || path.length() < 1 || !path.contains( "webkit" ) ) && ( osName.contains( SUPPORTED_DISTRIBUTION_NAME + " " + getSupportedVersion( "max.ubuntu.os.distribution.supported" ) ) || osName.contains( SUPPORTED_DISTRIBUTION_NAME + " " + getSupportedVersion( "min.ubuntu.os.distribution.supported" ) ) ) ); }