isConstant

Checks whether the current term is a constant, i.e., either an atom or a number. This method is guaranteed to return true if and only if the current term is an instance of Constant.

Return

true if the current term is a constant, or false, otherwise