Adds a validation utility for arguments
Merge pull request #638 from pveentjer/improvement/3.x/argument-check-utility

Improvement/3.x/argument check utility