you should use the getPropertyAsType method to get a Boolean
https://github.com/DSpace/DSpace/blob/master/dspace-services/src/main/java/org/dspace/services/ConfigurationService.java#L90