isPromise = maybePromise =>
  Promise.resolve(maybePromise) === maybePromise
Determine if the argument is a Promise.
(Approximately copied from promiseKit.js)

@param {unknown} maybePromise The value to examine
@returns {maybePromise is Promise} Whether it is a promise