Client to check if the data needs to be streamed or not.
SDMResponse resp = (SDMResponse)response; resp.isDataAvailable();