@staticmethod
    def merge_class(base, other):
        try:
            other = other.rules
        except:
            pass

        if not isinstance(other, list):
            other = [other]
        other_holidays = dict((holiday.name, holiday) for holiday in other)

        try:
            base = base.rules
        except:
            pass

        if not isinstance(base, list):
            base = [base]
        base_holidays = dict([(holiday.name, holiday) for holiday in base])

        other_holidays.update(base_holidays)
        return list(other_holidays.values())
The function will return True if the r tag passed in is considered
dataset/ETHPy150Open pydata/pandas/pandas/tseries/holiday.py/AbstractHolidayCalendar.merge_class--crossover with--dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py/is_underlined