How to access to this response helix api

Hi, so sorry for not explain what language I use.

Im using PHP for the call and JS for the client side.

But Im confuse and 1 problem is if the streams is offline, no data send. So?
How can check values of that data to display if online or offline?