function isPromise (promise) {
  return !!promise && typeof promise.then === 'function'
}
Checks if parameter is a Promise (or thenable) object.

@private

@param   {*} promise - Target `{}` to test
@returns {Boolean}