check real equality