def endElement(self, name, value, connection):
        if name == 'instanceId':
            self.instance_id = value
        elif name == 'requestId':
            self.request_id = value
        elif name == 'value':
            self._current_value = value
        elif self.ValidValues in name:
            self[name] = self._current_value
dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/instance.py/InstanceAttribute.endElement/swapped operands of `in`