Besides, null is a perfectly valid value for a property, just as 0. Working with API Platform, I couldn’t tell the number of times I used this kind of statement:
<span style="color:#323232;">if (property || property === null) {
</span><span style="color:#323232;"> // do some stuff
</span><span style="color:#323232;">}
</span>
Probably just as much as
<span style="color:#323232;">if (property || property === 0) {
</span><span style="color:#323232;"> // do some stuff
</span><span style="color:#323232;">}
</span>