code: public boolean isEditable() {
  
          if (m_request == null) {
              return false;
          }
          CmsExplorerTypeSettings settings = OpenCms.getWorkplaceManager().getExplorerTypeSetting(getResourceTypeName());
          if (settings != null) {
              String rightSite = OpenCms.getSiteManager().getSiteRoot(getResource().getRootPath());
              if (rightSite == null) {
                  rightSite = "";
              }
              String currentSite = getCms().getRequestContext().getSiteRoot();
              try {
                  getCms().getRequestContext().setSiteRoot(rightSite);
                  return settings.isEditable(getCms(), getResource());
              } finally {
                  getCms().getRequestContext().setSiteRoot(currentSite);
              }
          }
          return false;
      }
docs: Returns <code>true</code> if the given resource is editable by the current user.<p>
  
  Returns <code>false</code> if no request context is set.<p>
  
  @return <code>true</code> if the given resource is editable by the current user