removeBanner = (animateConfigNoticeCollpase = true) => {
        postUpdateBannerParent.remove();

        // Set the `displayPostUpdateBanner` flag to false.
        // This will mark the banner as read and won't
        // display the banner until next update.
        flags.displayPostUpdateBanner = false;
        fs.writeFileSync(flagsFilePath, JSON.stringify(flags));

        // Collapse and hide `configNotice` if empty
        if (configNotice.childElementCount === 0) {
          if (animateConfigNoticeCollpase) {
            configNotice.style.paddingTop = 0;

            setTimeout(() => {
              configNotice.style.display = 'none';
              configNotice.style.paddingTop = '30px';
            }, 250);
          }
          else {
            configNotice.style.display = 'none';
          }
        }
      }
Removes the banner immediately (without animation) and sets
the `displayPostUpdateBanner` flag to false.

@param {boolean} animateConfigNoticeCollpase
Specifies whether the `configNoice` should animate collapse
when empty.