Maxima Function
mapatom (expr)
Returns true if and only if expr is treated by the mapping routines as an atom. "Mapatoms" are atoms, numbers (including rational numbers), and subscripted variables.
true