How to just check if a channel is live?

Not in my case, I use a Linux Shell Script to make calls towards the API.

Results might diff from the used program language.