i am trying to verify if the hours intervals exist on a specific day, which is the key in my dictionary and then check if the current hour is in that hour interval but i am