code: function isJobOptProxy(data) {
      if (!data.hasOwnProperty('script') && !data.hasOwnProperty('inputs'))
          return false;
      if (!isStream(data.script)) {
          logger.error("jobOptProxy script value is not a readable stream");
          logger.error(`${data.script}`);
          return false;
      }
      for (let k in data.inputs) {
          if (!isStream(data.inputs[k])) {
              logger.error(`jobOptProxy input value \"${k}\" is not a readable stream`);
              return false;
          }
      }
      return true;
  }
docs: /*
  type guard for data container send from the consumer microservice to the JM.
  aka "newJobSocket" event