Returns true if an object with the given id exists in the repository.
true if the object exists, false otherwise
The identifier to check