Can `$code` from the previous `if` block be `0` or equivalent?