Use hasOwnProperty() to avoid accidental falsey mishaps.