isBinaryContentType (bodyType, contentObj) {
    return bodyType &&
      !_.isEmpty(_.get(contentObj, [bodyType, 'schema'])) &&
      contentObj[bodyType].schema.type === 'string' &&
      contentObj[bodyType].schema.format === 'binary';
  }
Check if request body type is binary type
@param {string} bodyType the bodyType provided in a request body content
@param {object} contentObj The request body content provided in spec
@returns {boolean} Returns true if content is a binary type