check_data: Check if a data object was created by qdata()
Description
Data objects created by qdata has a special token, which is
checked by this function. If the data object was not created by qdata,
it will be automatically converted (with a warning message).