in our codebase we use underscore.js, so this would be `if (!_.has(logTypesSupported, logType)) {`