Simple: I have an Python object id, and I want to check if there is an object with that id.
From this SO answer, you can get an existing object by id with
import ctypes
a = 10
object_id = id(a)
ctypes.cast(object_id, ctypes.py_object).value
But it hangs when called with a arbitrary object_id
, so that's an impractical solution.