for scenarios of enabling/disabling (~ creating/removing) entities, so it does not trigger in removal if a `to: xxx` is defined, and also does not trigger in creation if a `from: xxx` is present.