code: protected static void removeViewer(Page page, boolean close) {
          IHelpViewer viewer = (IHelpViewer) page.removeAttribute(VIEWER_ATTRIB);
  
          if (viewer != null && close) {
              viewer.close();
          }
      }
docs: Remove and optionally close the help viewer associated with the specified page.
  
  @param page The page owning the help viewer.
  @param close If true, close the help viewer after removing it.