It's not as special a case as all that :) In this case if (fluid.enhance.checked[staticKey] === undefined) will do ... the only special case is if, for some entirely unjustified reason, the value "undefined" is stored as a property - which should never happen in normal code.