Wouldn't that be `not (node.on_success or node.on_failure)`?