code: public CmsMenuItemVisibilityMode getVisibility(I_CmsContextMenuItem item) {
  
          CmsMenuItemVisibilityMode result = m_visiblities.get(item);
          if (result == null) {
              result = item.getVisibility(m_context);
              m_visiblities.put(item, result);
          }
          return result;
      }
docs: Gets the visibility for a given item (cached, if possible).<p>
  
  @param item the item
  @return the visibility of that item