Using Translator.toBoolean instead of doing an explicit cast