Might be overly cautious of me, but I think wrapping the checks for these attributes with getattr calls with defaults wouldn't hurt, since they aren't present in the base settings.