added isBool validator