def addBreakdownNode(view, disposition, node):
    if isinstance(node, ModelBreakdown):
        axisBreakdowns = view.breakdownNodes[disposition]
        if axisBreakdowns not in node:
            axisBreakdowns.append(node)
dataset/ETHPy150Open Arelle/Arelle/arelle/RenderingResolver.py/addBreakdownNode/swapped operands of `not in`