16ca7a21a7
Object.prototype.hasOwnProperty() is more precise than checking for falsiness, for instance the following is true: { foo: undefined }.hasOwnProperty('foo'); However when checking for a handler ID, a more relaxed check is more appropriate, as particularly 0 is not a valid handler ID. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/626