Maxima Function
scalarp (expr)
Returns true if expr is a number, constant, or variable declared scalar with declare, or composed entirely of numbers, constants, and such variables, but not containing matrices or lists.
true
scalar
declare