code: function validateResponse(type, noSchema,
    options) {
    if (arguments.length < 3) {
      throw new Error('Handlebars Helper \'validateResponse\'' +
        'needs 2 parameters');
    }
  
    if (!noSchema && mediaTypeContainsJson(type)) {
      return options.fn(this);
    } else {
      return options.inverse(this);
    }
  }
docs: determines if content types are able to be validated
  @param  {string} type     content type to be evaluated
  @param  {boolean} noSchema whether or not there is a defined schema
  @param  {Object} options  handlebars built-in options
  @returns {boolean}          whether or not the content can be validated