Add boolean validation option
Merge pull request #4599 from TheShiftExchange/4.2

Add boolean validation option