function checkFeatureInEnv (envArg) {
  let feature = parseInt(process.env[envArg], 10);
  if (isNaN(feature)) {
    feature = process.env[envArg];
  }
  return !!feature;
}
// translate integer environment variable to a boolean 0=false, !0=true
translate integer environment variable to a boolean 0=false, !0=true
translate integer environment variable to a boolean 0 = false !0 = true
function checkFeatureInEnv (envArg) {
  let feature = parseInt(process.env[envArg], 10);
  if (isNaN(feature)) {
    feature = process.env[envArg];
  }
  return !!feature;
}
function checkFeatureInEnv ( envArg ) { let feature = parseInt ( process . env [ envArg ] , 10 ) ; if ( isNaN ( feature ) ) { feature = process . env [ envArg ] ; } return ! ! feature ; }
translate integer environment variable to a boolean 0=false, !0=true
translate integer environment variable to a boolean 0 = false !0 = true