How to find if a stream is live using Python?

Thanks so much! Got to the next error! It says to provide a valid Client_ID Which it should according to the above code correct?

Sorry for being a noob, again, thanks!