presto-main/src/main/java/io/prestosql/sql/relational/DeterminismEvaluator.java/DeterminismEvaluator/visitCall
class DeterminismEvaluator:        @Override
        public Boolean visitCall(CallExpression call, Void context)
        {
            ResolvedFunction resolvedFunction = call.getResolvedFunction();
            if (!isDeterministic(resolvedFunction)) {
                return false;
            }

            return call.getArguments().stream()
                    .allMatch(expression -> expression.accept(this, context));
        }