is.hmatrix tests if its argument is an object of class hmatrix.
is.hmatrix(object)
object of class hmatrix