added basic cursor.idExists()