quantlib.time.calendars.weekends_only.WeekendsOnly.is_weekend

WeekendsOnly.is_weekend(self, int week_day)

Returns true iff the date is last business day for the month in given market.