def parseWithContext(self, input, cnode, action):
        if self._legal_actions not in action:
            raise ValueError("not a legal action")
        raise NotImplementedError("Haven't written this yet...")
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/xml/dom/xmlbuilder.py/DOMBuilder.parseWithContext/swapped operands of `not in`