This function works just like the usual R inherits(), except that for MVL_OBJECTS it used the class value stored in the MVL file.
For non-MVL objects the function simply calls the usual R inherit(), so it can be used instead of inherit() for code that operates on both usual R objects and MVL objects.
mvl_inherits(x, clstr, which = FALSE)character string giving object class
any object
classes to match against
when TRUE return a boolean array indicating of which classes named in clstr are inherited by x. When FALSE return a single boolean indicating inheritance of any class named in clstr.