Returns boolean if the indexes are equal.
Since JavaScript does not support deep comparison of objects, this function is used to compare the indexes.
Using lodash's isEqual function, it will compare the indexes and return a boolean value.
isEqual
0.9.0
Returns boolean if the indexes are equal.