def isDocumentCollection(cls, name) :
        """return true or false wether 'name' is the name of a document collection."""
        try :
            col = cls.getCollectionClass(name)
            return issubclass(col, Collection)
        except KeyError :
            return False