Could ``Boolean.parseBoolean()`` be used here?