just at the top of your script you could define it...
# suitescript
j
just at the top of your script you could define it like
var allowSublistChanged = true;