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.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.