0 if the reference is not valid, or does not refer to an existing object; 1 if the reference points to a valid object.
This function tests a reference for validity, and whether the object is designates actually exists. To be used, for example, to test the result of RevisionWithLabel() for existence before executing a WITH … PATH on it.