I prefer to keep the `value is None`, to make it explicit that this part of the `if` is useful. With just `not value` you'd be tempted to remove it because the other condition looks similar.