function isWindows() {
  if (useUserAgentDataPlatform()) {
    return util.getUserAgentData().platform === 'Windows';
  }
  return util.matchUserAgent('Windows');
}
@return {boolean} Whether the platform is Windows.