`value` could be `0`, check for null and undefined