CASC-191

isValid method with simple implementation
Merge pull request #29 from battags/CASC-191

CASC-191