def is_week_day(the_date):
    """ Decides if the given date is a weekday.

        Args:
            the_date: Date object. The date to decide.

        Returns:
            Boolean. Whether the given date is a weekday.
    """
    return the_date.isoweekday() in [1, 2, 3, 4, 5]