'batched' will be used in odoo/o-spreadsheet. There's also a copied version (slightly modified) in odoo/odoo. It shows it could be useful outside owl.
The props validation code is actually quite difficult to get right. Also, it is sometimes useful to be able to validate an object against a specified schema. Therefore, this commit exports the standalone validate function as an utility function.