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