How to make a field read-only in a `mongoengine` Document while allowing conditional updates? I have a mongoengine document such as: