presto-main/src/main/java/io/prestosql/operator/scalar/ArrayIndeterminateOperator.java/ArrayIndeterminateOperator/indeterminate
class ArrayIndeterminateOperator:    @TypeParameter("T")
    @SqlType(StandardTypes.BOOLEAN)
    public static boolean indeterminate(
            @OperatorDependency(operator = INDETERMINATE, argumentTypes = "T") MethodHandle elementIndeterminateFunction,
            @TypeParameter("T") Type type,
            @SqlType("array(T)") Block block,
            @IsNull boolean isNull)
    {
        if (isNull) {
            return true;
        }
        for (int i = 0; i < block.getPositionCount(); i++) {
            if (block.isNull(i)) {
                return true;
            }
            try {
                if ((boolean) elementIndeterminateFunction.invoke(readNativeValue(type, block, i), false)) {
                    return true;
                }
            }
            catch (Throwable t) {
                throw internalError(t);
            }
        }
        return false;
    }