Simplify `checkGlobal`.
Simplify `checkGlobal`.

dgoncalves1/lodash,BernhardRode/lodash,dgoncalves1/lodash,dgoncalves1/lodash,BernhardRode/lodash,lekoaf/lodash,lekoaf/lodash,lekoaf/lodash,BernhardRode/lodash