Affirm Interview Question

Validate a model with given constraints (see above).