'Release the lease, if given node is the owner.
:param UUID dataset_id: The dataset on which to release a lease.
:param UUID node_id: The node which currently holds the lease.
:return: The updated ``Leases`` representation.'

def release(self, dataset_id, node_id):

    self._check_lease(dataset_id, node_id, LEASE_ACTION_RELEASE)
    return self.remove(dataset_id)
