I think this should be `(!feature.hasOwnProperty("id") || feature.id === null || feature.id === undefined)` to catch cases where `id` is `undefined`