An immutability helper is a Python module that imports a MongoDB update operation. The immutability helper syntax is inspired by the MongoDB query language, but it’s statically analyzable. The new syntax is much easier to type than its mutative counterpart. To toggle booleans on or off from the target object, you can use an array with $prefixed strings. Using immutability can drastically speed up your application.