def _IsOwnedBy(self, owner_id):
    assert self.owner_id is not None  # None should never match self.owner_id
    return owner_id == self.owner_id
A problem was revealed by a customer that the use cuda.to_device
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/lock.py/Lock._IsOwnedBy--crossover with--dataset/ETHPy150Open numba/numba/numba/cuda/tests/cudadrv/test_cuda_auto_context.py/TestCudaAutoContext.test_auto_context