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