boolean value ) throws LockException {
assert lockToken != null;
// Create a system session to remove the locks ...
final ExecutionContext context = session.context();
SessionCache systemSession = repository.createSystemSession(context, false);
SystemContent system = new SystemContent(systemSession);
// Mark the session as held/unheld ...
if (!system.changeLockHeldBySession(lockToken, value)) {
return false;