mads
Check for mads object
is.mads(x)
x
An object
A logical indicating whether x is an object of class mads