quantlib.time.date.is_end_of_month

is_end_of_month(Date date)

Whether a date is the last day of its month.