DataStructureQ
DataStructureQ[ds] yields True if ds is a valid data structure and False otherwise.
DataStructureQ[ds, type] yields True if ds is a valid data structure of the specified type and False otherwise.
Examples
Check if something is a data structure:
ds = CreateDataStructure["Stack"];
DataStructureQ[ds]
(* True *)Please visit the official Wolfram Language Reference for more details.