Check if a market is closed or open using YQL?

Hi,
Is it possible or is there any way in which we can check if the stock market is open or not using YQL?
It is possible by adding all the exchanges to a db but it would take me days to do that.
Appreciate your help!
Thank you.
Juan