code: private boolean isLastPage(CmsClientSitemapEntry entry) {
  
          return ((entry.isInNavigation() && (entry.getId().toString().equals(m_controller.getData().getReturnCode())))
              || ((entry.getDefaultFileId() != null)
                  && entry.getDefaultFileId().toString().equals(m_controller.getData().getReturnCode())));
      }
docs: Checks if the given entry represents the last opened page.<p>
  
  @param entry the entry to check
  
  @return <code>true</code> if the given entry is the last opened page