null/bool validators perf - check data length prior to compare strings