presto-main/src/main/java/io/prestosql/sql/analyzer/ExpressionTreeUtils.java/ExpressionTreeUtils/isWindowFunction
class ExpressionTreeUtils:    private static boolean isWindowFunction(FunctionCall functionCall)
    {
        return functionCall.getWindow().isPresent();
    }