code: public boolean isDetailPageAvailable() {
  
          boolean result = false;
          if ((m_cms != null)
              && (m_element != null)
              && !m_element.isInMemoryOnly()
              && (m_element.getResource() != null)) {
              try {
                  String detailPage = OpenCms.getADEManager().getDetailPageFinder().getDetailPage(
                      m_cms,
                      m_element.getResource().getRootPath(),
                      m_cms.getRequestContext().getUri(),
                      null);
                  result = detailPage != null;
              } catch (CmsException e) {
                  LOG.warn(e.getLocalizedMessage(), e);
              }
          }
          return result;
      }
docs: Returns <code>true</code in case a detail page is available for the current element.<p>
  
  @return <code>true</code in case a detail page is available for the current element