Ensure cls.obsolete is a boolean value (not a nil).