presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionAnalyzer.java/ExpressionAnalyzer/isInLambda
class ExpressionAnalyzer:        public boolean isInLambda()
        {
            return fieldToLambdaArgumentDeclaration != null;
        }