That is not a good place to store it - this will make it seem like the language is forced for all documents that have it, even those where it wasn't forced. The flag should be a property of the document object, say doc._languageWasForced.