How to check whether two arrays of objects as the same value using some

How to check whether two arrays of objects as the same value using some