def METHOD_NAME(self, flow: Flow, artifact_id: uuid.UUID) -> str:
    """Also validates that the saved object exists according to the Flow API."""
    all_saved_objects = flow.list_saved_objects()[self._resource.name()]
    all_saved_object_identifiers = [item.spec.identifier() for item in all_saved_objects]
    saved_object_identifier = artifact_id_to_saved_identifier[str(artifact_id)]
    assert saved_object_identifier in all_saved_object_identifiers
    return saved_object_identifier