This line needs to check for undefiend because by this point, default values have been applied to missing options and if the default value is false or null or '', then this will think the option is missing.