docstr: Asserts that the data is committed to the device.
docstr_tok: ["Asserts","that","the","data","is","committed","to","the","device","."]
code: def assert_committed_to_device(self, data, device):
      """Asserts that the data is committed to the device."""
      self.assertTrue(data._committed)
      self.assertEqual(data.devices(), {device})
  
imports: import os
  from unittest import SkipTest
  from absl.testing import absltest
  import jax
  import jax.numpy
  from jax import lax
  from jax._src import test_util
  from jax._src import xla_bridge
  from jax import config
label_desc: Use image node_id 2 for calling the MultiDeviceTest obj's underlying member method code with example usage: obj.assert_committed_to_device(data, device) without return types