How to find Holiday or Trading Day

I want to find today is Trading day or holidy ?

Logically algo will not be active on the day of Holiday.

You can use Next Trading Day to find if tomorrow is a holiday or a trading day.

For Example, if tomorrow is a holiday then Tomorrow != Next Trading Day condition will not satisfy.

nexttradingday