Maxima Function
blockmatrixp (M)
Return true if and only if M is a matrix and every entry of M is a matrix.