code: function lookup(jobAsked) {
      let hits = [];
      let query = jobAsked.getSerialIdentity();
      for (let job of sourceJobIter()) {
          let item = job.getSerialIdentity();
          if (isConstraintsOk(query, item))
              hits.push(job);
      }
      logger.debug(`Found ${hits.length} hits`);
      if (hits.length == 0)
          return undefined;
      return hits;
  }
docs: /* --  a function that look for jobs satisfying a constraints in a list --