Maxima Function
listp (e, p)
listp(e)
Given an optional argument p, return true
if e is
a Maxima list and p evaluates to true
for every list element.
When listp
is not given the optional argument, return true
if e is
a Maxima list. In all other cases, return false
.