MatrixQ

WMA link


MatrixQ[m]

gives True if m is a list of equal-length lists.

MatrixQ[m, f]

gives True only if f[x] returns True for when applied to element x of the matrix m.

These are not matrices:

Supply a test function parameter to generalize and specialize:

LevelQ
MemberQ