def release(self):
    'Release the lock if already acquired'
    if (not self.locked()):
        raise ValueError('Lock is not yet acquired')
    ret = self.client.sync(self.client.scheduler.multi_lock_release, id=self.id)
    self._locked = False
    return ret
Release the lock if already acquired
def release(self):
    
    if (not self.locked()):
        raise ValueError('Lock is not yet acquired')
    ret = self.client.sync(self.client.scheduler.multi_lock_release, id=self.id)
    self._locked = False
    return ret