code: function _checkJobBean(obj) {
      if (!cType.isStringMapOpt(obj)) {
          logger.error("unproper job parameter (not a string map)");
          return false;
      }
      if (!obj.hasOwnProperty('cmd') && !obj.hasOwnProperty('script')) {
          logger.error("unproper job parameters (no script nor cmd)");
          return false;
      }
      if (obj.hasOwnProperty('cmd')) {
          if (!obj.cmd) {
              logger.error("unproper job parameters (undefined cmd)");
              return false;
          }
      }
      else {
          if (!obj.script) {
              logger.error("unproper job parameters (undefined script)");
              return false;
          }
      }
      return true;
  }
docs: /*
  TypeGuard for job parameters passed to the push function