Yes. See Validating user objects with Cerberus.
Cerberus
Cerberus is a lightweight and extensible data validation library for Python
Receive updates on new releases and upcoming projects.
Follow @nicolaiarocci
Join Mailing List.