Maxima Function
nonscalarp (expr)
Returns true if expr is a non-scalar, i.e., it contains atoms declared as non-scalars, lists, or matrices.
true