validate_params function

Cram Policy: Validate User-Provided Parameters for a Model