check object attribute in target