Your call, but you can use "return !!this._measurementMap[useCase];" on line 385

I would go further and do : 

return this._measurementMap[configKey] ? !!this._measurementMap[useCase] : null;