bool isDebouncerActive(String jobName)

Returns whether a named debouncer is active.

Source

bool isDebouncerActive(String jobName) {
  // TODO(jakemac): Just return once
  // https://github.com/Polymer/polymer/pull/2291 is submitted.
  var value = jsElement.callMethod('isDebouncerActive', [jobName]);
  return value is bool ? value : value != null;
}