PDIO-424 Extends data sanity checking to prepared data classes and model data classes