pandas.tseries.offsets.YearEnd.is_on_offset

YearEnd.is_on_offset()