function isPromise (object) {
  return object && typeof object.then === 'function' && typeof object.catch === 'function'
}
Test whether something is a Promise
@param {*} object
@returns {boolean} Returns true when object is a promise, false otherwise