`is not None` is the more idiomatic Python way to check if an expression evaluates to not None. and it is more readable. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
`is not None` is the more idiomatic Python way to check if an expression evaluates to not None. and it is more readable. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>