private bool shouldSkipHeader(PdfWriter writer, Document document) { return MainTableEvents != null && MainTableEvents.ShouldSkipHeader(getEventsArguments(writer, document)); }