private boolean hasRecords() {
        if (batchMap.isEmpty()) {
            return false;
        }
        for (List<String> value : batchMap.values()) {
            if (!value.isEmpty()) {
                return true;
            }
        }
        return false;
    }
Flush data of single identifier to s3

@param identifier The identifier of dirty data
@param values The values of the identifier
inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/dirty/sink/s3/S3DirtySink.java