tf = hasdata(mds) returns
logical 1 if the datastore object mds has data
available to read. When mds does not have data available to read,
hasdata returns 0.
Data availability indication, returned as a 1 or
0 of data type logical. When the
sdidatastore object has data available to read, tf
is 1. When data is not available, tf is
0.