code: public static boolean checkVisible(CmsUUID id) {
  
          boolean show = false;
          if (CmsSitemapView.getInstance().getController().isEditable()) {
              CmsNewResourceInfo info = CmsSitemapView.getInstance().getController().getData().getNewResourceInfoById(id);
              show = CmsSitemapView.getInstance().isModelPageMode()
                  && (((info != null) && info.isEditable()) || CmsSitemapView.getInstance().isModelGroupEntry(id));
          }
          return show;
      }
docs: Checks if the model page menu entry should be visible.<p>
  
  @param id the id of the model page
  @return true if the entry should be visible