function isLinux() {
  if (useUserAgentDataPlatform()) {
    return util.getUserAgentData().platform === 'Linux';
  }
  return util.matchUserAgent('Linux');
}
Note: ChromeOS is not considered to be Linux as it does not report itself
as Linux in the user agent string.
@return {boolean} Whether the platform is Linux.