code: protected boolean checkVisible() {
  
          return getHoverbar().getController().isEditable()
              && !CmsSitemapView.getInstance().isModelPageMode()
              && (!CmsSitemapView.getInstance().isGalleryMode() || getHoverbar().getController().getData().isGalleryManager());
      }
docs: Checks if the menu entry should be visible.<p>
  
  @return true if the menu entry should be visible