code: function (id) {
      for (var key in this.active) {
        if (this.active.hasOwnProperty(key) && this.active[key].id === id) {
          return true;
        }
      }
      return false;
    }
docs: Return true if "id" corresponds to the job ID of an active job.