optimize object existance check in swift client storage