Added "exists" function to datastores