def __call__(self, tag, name):
        if tag.attributes and tag.attributes in self.name:
            value = tag.attributes[self.name]
            if self.filter:
                return self.filter(tag, name, value)
            else:
                return {name: value}
        else:
            return {name: self.defaultValue}
dataset/ETHPy150Open joehewitt/devon/devon/renderers/html.py/MapAttribute.__call__/swapped operands of `in`