public static boolean equalsIgnoreCase(final String str, final CIKey ciKey) {
        final String lowerKey = NullSafe.get(ciKey, CIKey::getAsLowerCase);
        if (lowerKey == null && str == null) {
            return true;
        } else {
            return lowerKey != null && lowerKey.equalsIgnoreCase(str);
        }
    }
True if str is equal to the string wrapped by ciKey, ignoring case.
stroom-util-shared/src/main/java/stroom/util/shared/string/CIKey.java