'Modify node attributes.
A list of valid attributes can be found at http://goo.gl/gxcj8
:param      node: Node instance
:type       node: :class:`Node`
:param      attributes: Dictionary with node attributes
:type       attributes: ``dict``
:return: True on success, False otherwise.
:rtype: ``bool``'

def ex_modify_instance_attribute(self, node, attributes):

    attributes = (attributes or {})
    attributes.update({'InstanceId': node.id})
    params = {'Action': 'ModifyInstanceAttribute'}
    params.update(attributes)
    res = self.connection.request(self.path, params=params.copy()).object
    return self._get_boolean(res)
