boolean wasSecurityEnabled = PersistableObject.isSecurityEnabled();
// turn off security so no checks are made while we are persisting data
try{
PersistableObject.enableSecurity(false);
TransactionValue transValue = changeEntry.getKey();
ChangeUpdate change = changeEntry.getValue();
Persistable target = change.target;
Object value = transValue.values.get(transaction);
Object sourceValue = value;
Object oldValue = transValue.values.get(Transaction.OUTSIDE);
boolean hadProperty = oldValue != Scriptable.NOT_FOUND;