validateChecks function

Validate the "checks" parameter