queuedTaskExists(t) {
    for (var i = 0; i < this.queuedTask.length; i++) {
      var aQueuedTask = this.queuedTask[i];
      if (aQueuedTask.zone === t.zone) {
        return true;
      }
    }
    return false;
  }
// checks if the zone to be created is already in the list
checks if the zone to be created is already in the list
checks if the zone to be created is already in the list
queuedTaskExists(t) {
    for (var i = 0; i < this.queuedTask.length; i++) {
      var aQueuedTask = this.queuedTask[i];
      if (aQueuedTask.zone === t.zone) {
        return true;
      }
    }
    return false;
  }
queuedTaskExists ( t ) { for ( var i = 0 ; i < this . queuedTask . length ; i ++ ) { var aQueuedTask = this . queuedTask [ i ] ; if ( aQueuedTask . zone === t . zone ) { return true ; } } return false ; }
checks if the zone to be created is already in the list
checks if the zone to be created is already in the list