The function checks to see if the object is either mrgmod or packmod.
mrgmod
packmod
is.mrgmod(x)
x
any object
TRUE if x inherits mrgsims.
TRUE
mrgsims