platform/video.videojs/dist/video.es.js
function isEvented(object) {
  return object instanceof EventTarget || !!object.eventBusEl_ && ['on', 'one', 'off', 'trigger'].every(function (k) {
    return typeof object[k] === 'function';
  });
}
function isEvented(object) {
  return object instanceof EventTarget || !!object.eventBusEl_ && ['on', 'one', 'off', 'trigger'].every(function (k) {
    return typeof object[k] === 'function';
  });
}
@file mixins/evented.js
@module evented
 
Returns whether or not an object has had the evented mixin applied.

@param  {Object} object
An object to test.

@return {boolean}
Whether or not the object appears to be evented.