is_matrix

is_matrix(M)[source]

Return true if M is a matrix.