quantlib.time.calendars.united_states.UnitedStates.is_weekend

UnitedStates.is_weekend(self, int week_day)

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