def mergeClass(attributes, classes):
    if attributes in "class" and attributes["class"]:
        attributes["class"] += " " + classes
    else:
        attributes["class"] = classes

# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
dataset/ETHPy150Open joehewitt/devon/devon/renderers/html.py/mergeClass/swapped operands of `in`