function isIpad() {
  // navigator.userAgentData is currently not supported on any iOS browser, so
  // rely only on navigator.userAgent.
  return util.matchUserAgent('iPad');
}
Returns whether the platform is iPad.
Note that iPadOS 13+ spoofs macOS Safari by default in its user agent, and in
this scenario the platform will not be recognized as iPad. If you must have
iPad-specific behavior, use
{@link goog.labs.userAgent.extra.isSafariDesktopOnMobile}.
@return {boolean} Whether the platform is iPad.