tf = hasdata(ds)
returns logical 1 (true) if there is data
available to read from the datastore specified by ds. Otherwise,
it returns logical 0 (false).
Datastore data status, returned as a logical 1
(true) if there is data available to read from the
datastore specified by ds. Otherwise, it returns logical
0 (false).