code: public boolean hasSelectFolder() {
  
          if (hasSelectResource()) {
              for (CmsResourceTypeBean type : m_dialogBean.getTypes()) {
                  if (type.getType().contains(I_CmsGalleryProviderConstants.RESOURCE_TYPE_FOLDER)) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Returns if folders should be selectable.<p>
  
  @return <code>true</code> if folders should be selectable