from datetime import datetime


def check_bank_holiday(input_date):
    """
    Returns 1 if the inputted date is a bank holiday in Ireland
    or 0 otherwise

    Args
    ---
        input_date: datetime
            A DateTime object

    Returns
    ---
    An int which is 1 if it's a bank holiday or 0 otherwise
    """

    bank_holidays_2021 = [
        # New Year's Day
        datetime(2021, 1, 1),
        # St Patricks' Day
        datetime(2021, 3, 17),
        # Easter Monday
        datetime(2021, 4, 5),
        # May Bank Holiday
        datetime(2021, 5, 3),
        # June Bank Holiday
        datetime(2021, 6, 7),
        # August Bank Holiday
        datetime(2021, 8, 2),
        # October Bank Holiday
        datetime(2021, 10, 25),
        # Christmas Day
        datetime(2021, 12, 25),
        # St Stephen's Day
        datetime(2021, 12, 26),
    ]

    return input_date in bank_holidays_2021