def treeDepth(self, modelDocument, indent, visited):
        visited.add(modelDocument)
        if indent > self.treeCols: self.treeCols = indent
        for referencedDocument in modelDocument.referencesDocument.keys():
            if visited not in referencedDocument:
                self.treeDepth(referencedDocument, indent + 1, visited)
        visited.remove(modelDocument)
dataset/ETHPy150Open Arelle/Arelle/arelle/ViewFileDTS.py/ViewDTS.treeDepth/swapped operands of `not in`