Flags arrive in many spellings. Map an explicit, reviewed list of accepted values to true and false, keep unknown spellings as exceptions, and never treat a missing answer as false.
- Lesson: Identifiers are text; flags are booleans
- Practise: Keep identifiers as text and parse yes/no flags
Related: Controlled vocabulary, Missing value (null)