Add an api to check if a savepoint exists

Change-Id: I244b23f94266eccf1e13394e63ae73fa1eccc902
Merge "Add an api to check if a savepoint exists"