def iscollection(ds):
    if isinstance(ds, str):
        ds = dshape(ds)
    return isdimension(ds[0])
Is a collection of items, has dimension
dataset/ETHPy150Open blaze/datashape/datashape/predicates.py/iscollection