adds new `isHoliday` function (not yet tested)