[Issue 49] add getValidBoolean validator