_.isNil is not a function

Hi!

We are currently facing a problem in our sdk, we noticed that 2 errors are triggered in the console referring to the _.isNil function, we used version 2.9.7 of the sdk, we updated to version 2.10.1 and the error persists, can you help me to correct this , please?