Function to determine whether an object x is an exponential object.

is_exponential(x)

Arguments

x

The object to test