class BooleanConverter implements AtlasConverter<Boolean> {

    @AtlasConversionInfo(sourceType = FieldType.BOOLEAN, targetType = FieldType.BOOLEAN)
    public Boolean toBoolean(Boolean value, String sourceFormat, String targetFormat) {
        return value != null ? Boolean.valueOf(value) : null;
    }

}