unsafe fn ensure_no_mutable_alias<'py, ClassT: PyClass>( py: Python<'py>, obj: &*mut PyObject, ) -> Result<PyRef<'py, ClassT>, PyBorrowError>
ensures obj is not mutably aliased
obj