Check Online / OffLine

Online status is reported by the get streams API

If the requested user is not live then you get no data, if the stream is live then you get data.