code: function (el) {
          return !isElement(el)
              || el.disabled
              || el.classList.contains('disabled')
              || Boolean(el.getAttribute('disabled'))
      }
docs: Checks whether an element is disabled, or not.