is_matrix_or_Matrix function

Tells whether an object is one of a matrix or a Matrix