presto-main/src/main/java/io/prestosql/sql/analyzer/FreeLambdaReferenceExtractor.java/FreeLambdaReferenceExtractor/hasFreeReferencesToLambdaArgument
class FreeLambdaReferenceExtractor:    public static boolean hasFreeReferencesToLambdaArgument(Node node, Analysis analysis)
    {
        return !getFreeReferencesToLambdaArgument(node, analysis).isEmpty();
    }