src/libs/Utils.js
function isEvent(oObj) {
  try {
    return isInstanceOf(oObj, Event);
  } catch (erError) {
    // Duck typing detection (If it sounds like a duck and it moves like a duck, it's a duck)
    if (oObj.altKey !== und && ( oObj.srcElement || oObj.target )) {
      return true;
    }
  }
  return false;
}
function isEvent(oObj) {
  try {
    return isInstanceOf(oObj, Event);
  } catch (erError) {
    // Duck typing detection (If it sounds like a duck and it moves like a duck, it's a duck)
    if (oObj.altKey !== und && ( oObj.srcElement || oObj.target )) {
      return true;
    }
  }
  return false;
}
Use Event detection and if it fails it degrades to use duck typing detection to
test if the supplied object is an Event
@param {Object} oObj
@return {Boolean}
@private