Use `is None` instead of `not`.

Same as strands-project/strands_executive#116