def isdimension(ds):
    return isinstance(ds, dimension_types)
Takes an xml string and returns an indented and properly tabbed version of the string
dataset/ETHPy150Open blaze/datashape/datashape/predicates.py/isdimension--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/util/xml_utils.py/indent_xml