quantlib.time.calendar.Calendar.is_holiday

Calendar.is_holiday(self, Date test_date)

Returns true iff the weekday is part of the weekend for the given market.