protected static boolean checkBooleanFlag(final String expectedFlag, final String value) {
        return TextUtils.isEqualIgnoreCaseAndSpecialChars(value, expectedFlag);
    }
Helper method to read boolean config values as flags
main/src/main/java/cgeo/geocaching/filters/core/BaseGeocacheFilter.java