MDataQ

MDataQ[ expr ]
returns True if expr is a data set with head MData, and False otherwise.