mgc.validator function

MGC Utility Validator