presence json check