function enabled(name) {
  var i, len;
  for (i = 0, len = exports.skips.length; i < len; i++) {
    if (exports.skips[i].test(name)) {
      return false;
    }
  }
  for (i = 0, len = exports.names.length; i < len; i++) {
    if (exports.names[i].test(name)) {
      return true;
    }
  }
  return false;
}
Gets a specified attribute listener from a given EventTarget object.

@param {EventTarget} eventTarget - An EventTarget object to get.
@param {string} type - An event type to get.
@returns {function|null} The found attribute listener.