code: function(bid) {
      return (bid.params.adUnitId || ((bid.params.adUnitName || bid.adUnitCode || bid.placementCode) && bid.params.publisherId)) !== undefined;
    }
docs: Determines whether or not the given bid request is valid.
  
  Parameters should be
  
  adUnitId:    LiveWrapped's id of the ad unit.    Optional. A guid identifying the ad unit.
  adUnitName:  LiveWrapped's name of the ad unit   Optional. (Prebid's ad unit code will be used otherwise.)
  publisherId: Publisher id.                       Required if adUnitName is used or both adUnitName and adUnitId is omitted, otherwise optional.
  userId:      A persistent user id if available.  Optional.
  url:         Page url                            Optional. Use if page url cannot be determined due to use of iframes.
  bidUrl:      Bidding endpoint                    Optional.
  seats:       List of bidders and seats           Optional. {"bidder name": ["seat 1", "seat 2"], ...}
  deviceId:    Device id if available              Optional.
  ifa:         Advertising ID                      Optional.
  options      Dynamic data                        Optional. Optional data to send into adapter.
  
  @param {BidRequest} bid The bid params to validate.
  @return boolean True if this is a valid bid, and false otherwise.