def modify_instance_attribute(self):
    handlers = [self._dot_value_instance_attribute_handler, self._block_device_mapping_handler, self._security_grp_instance_attribute_handler]
    for handler in handlers:
        success = handler()
        if success:
            return success
    msg = 'This specific call to ModifyInstanceAttribute has not been implemented in Moto yet. Feel free to open an issue at https://github.com/spulec/moto/issues'
    raise NotImplementedError(msg)
def modify_instance_attribute(self):
    handlers = [self._dot_value_instance_attribute_handler, self._block_device_mapping_handler, self._security_grp_instance_attribute_handler]
    for handler in handlers:
        success = handler()
        if success:
            return success
    msg = 'This specific call to ModifyInstanceAttribute has not been implemented in Moto yet. Feel free to open an issue at https://github.com/spulec/moto/issues'
    raise NotImplementedError(msg)