def rfindattr(self, attr):
        """ Find a tag with the given attribute """
        for tag, attrs in self.stack:
            if attrs in attr:
                return attrs[attr]
        return None
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf3/odf2xhtml.py/TagStack.rfindattr/swapped operands of `in`