is.dsmm: Check if an object has a valid dsmm class
Description
Checks for the validity of the specified attributes and the
inheritance of the S3 class dsmm. This class acts like a parent
class for the classes dsmm_fit_nonparametric,dsmm_fit_parametric, dsmm_parametric and dsmm_nonparametric.