code: function(bid) {
      if (!bid || !bid.params) {
        utils.logWarn(BIDDER_CODE + ': Missing bid parameters');
        return false;
      }
  
      if (!utils.isStr(bid.params.site_id)) {
        utils.logWarn(BIDDER_CODE + ': site_id must be specified as a string')
        return false;
      }
  
      if (isVideoRequest(bid)) {
        if (!bid.params.mimes) {
          // Give a warning but let it pass
          utils.logWarn(BIDDER_CODE + ': mimes should be specified for videos');
        } else if (!utils.isArray(bid.params.mimes) || !bid.params.mimes.every(s => utils.isStr(s))) {
          utils.logWarn(BIDDER_CODE + ': mimes must be an array of strings');
          return false;
        }
      }
  
      return true;
    }
docs: Determines whether or not the given bid request is valid.
  
  @param {BidRequest} bid - The bid params to validate.
  @return {boolean} True if this is a valid bid, and false otherwise.