isEqual validator
isEqual in mixin