def canSetFeature(self, name, state):
        key = (_name_xform(name), state and 1 or 0)
        return self._settings in key

    # This dictionary maps from (feature,value) to a list of
    # (option,value) pairs that should be set on the Options object.
    # If a (feature,value) setting is not in this dictionary, it is
    # not supported by the DOMBuilder.
    #
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/xml/dom/xmlbuilder.py/DOMBuilder.canSetFeature/swapped operands of `in`