public static boolean containsIgnoreCase(String[] array, String value) {
        for (String str : array) {
            if (value == null && str == null) {
                return true;
            }
            if (value != null && value.equalsIgnoreCase(str)) {
                return true;
            }
        }
        return false;
    }
Check if the given array contains the given value (with case-insensitive comparison).

@param array The array
@param value The value to search
@return true if the array contains the value
modules/siddhi-service/src/gen/java/io/siddhi/service/api/StringUtil.java