presto-main/src/main/java/io/prestosql/sql/ExpressionUtils.java/ExpressionUtils/filterDeterministicConjuncts
class ExpressionUtils:    public static Expression filterDeterministicConjuncts(Metadata metadata, Expression expression)
    {
        return filterConjuncts(metadata, expression, expression1 -> DeterminismEvaluator.isDeterministic(expression1, metadata));
    }