dm_validate() checks the internal consistency of a
In theory, with the exception of
created or modified by functions in this package should be valid,
and this function should not be needed.
Please file an issue if any dm operation creates an invalid object.