Why not `userSettings.hasOwnProperty`? Would be a little faster.