How to make "Is x zero or nonzero?" in my function



In my Maxima-function I have to ask the user

Is x zero or nonzero?
Is x positive or negative?

Something like in the computation of integrate(t^x,t)