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