class EnvironmentUtils {

  public synchronized boolean isUnsupportedBrowserEnvironment() {
    if ( getEnvironmentName().contains( "linux" ) ) {
      return false;
    }
    final String userAgent = getUserAgent();
    if ( userAgent == null ) {
      return true;
    }
    return checkUserAgent( MSIE_PATTERN.matcher( userAgent ), getSupportedVersion( "min.windows.browser.supported" ) )
      || checkUserAgent( SAFARI_PATTERN.matcher( userAgent ), getSupportedVersion( "min.mac.browser.supported" ) );
  }

}