'Detaches a volume from a node.
:param      node: Node which should be used
:type       node: :class:`Node`
:param      volume: Volume to be detached
:type       volume: :class:`StorageVolume`
:rtype: ``bool``'

def detach_volume(self, node, volume):

    op = self.connection.request('hosting.vm.disk_detach', int(node.id), int(volume.id))
    if self._wait_operation(op.object['id']):
        return True
    return False
