is.promise function

Coerce to a promise