Let's assume that I have a list of dates like:
["2022-01-02", "2022-01-03"]
and so on. I also have a list of dates that are considered as a "holiday" in the same format. Now, I want to check if the dates from the first list cover the whole business week (so Monday to Friday), while taking the holiday list to consideration. So, if for example, I get provided with a list of days from Tuesday to Friday and there's no holiday on Monday then I'll get a False. But, if there would be a holiday on Monday, then I'd get a True.
Would be perfect if it worked between any two given dates, so that it won't be week-specific.
Is there any nice way of doing such things in python? How would you do it? Thanks in advance