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