code: function isValidPlatform() {
      if (appSettings.overrides && appSettings.overrides.platform) {
          return true; //If a platform override is set, it's always valid
      }
      return /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
  }
docs: Check if the platform the user is currently visiting the page with is valid for
  the ad library to run
  @returns {boolean}