Compare Attributes Objects

Dear PML Experts,

I would like to compare attributes of same type of element

is there any direct OBject available ?