function isRequiredParamProvided(configParams, templateParams) {
  const missingParams = Object.keys(configParams || {})
    .filter(key => configParams[key].required && !templateParams[key]);

  if (missingParams.length) {
    throw new Error(`This template requires the following missing params: ${missingParams}.`);
  }
}
Checks if parameters described in template configuration as required are passed to the generator
@private
@param {Object} configParams Parameters specified in template configuration
@param {Object} templateParams All parameters provided to generator