platform/video.videojs/dist/video.es.js
function hasData(el) {
  var id = el[elIdAttr];

  if (!id) {
    return false;
  }

  return !!Object.getOwnPropertyNames(elData[id]).length;
}
function hasData(el) {
  var id = el[elIdAttr];

  if (!id) {
    return false;
  }

  return !!Object.getOwnPropertyNames(elData[id]).length;
}
Returns whether or not an element has cached data

@param {Element} el
Check if this element has cached data.

@return {boolean}
- True if the DOM element has cached data.
- False otherwise.