This is actually my code. I think we can do this with deep.equal