public static boolean isFolder(final DocRef docRef) {
        return isFolder(docRef.getType());
    }
@return Only those types that the user has VIEW permission on
stroom-core-shared/src/main/java/stroom/explorer/shared/DocumentTypes.java