'Destroys a node.
:param node: The node you wish to destroy.
:type volume: :class:`Node`
:param ex_remove_attached_disks: True to destroy all attached volumes.
:type ex_remove_attached_disks: : ``bool``
:rtype:     : ``bool``'

def destroy_node(self, node, ex_remove_attached_disks=False):

    if (ex_remove_attached_disks is True):
        for volume in self.ex_list_attached_volumes(node):
            self.destroy_volume(volume)
    action = node.extra['href']
    self.connection.request(action=action, method='DELETE', with_full_url=True)
    return True
