code: def _check_indexed_volumes(self, v, selected, indices):
      for selectedIdx, index in indices:
          self.assertClose(
              selected.densities()[selectedIdx], v.densities()[index]
          )
          self.assertClose(
              v.locator._local_to_world_transform.get_matrix()[index],
              selected.locator._local_to_world_transform.get_matrix()[
                  selectedIdx
              ],
          )
          if selected.features() is not None:
              self.assertClose(
                  selected.features()[selectedIdx], v.features()[index]
              )
  
imports: import copy
  import itertools
  import random
  import unittest
  import numpy
  import torch
  from pytorch3d.structures.volumes import VolumeLocator, Volumes
  from pytorch3d.transforms import Scale
  from .common_testing import TestCaseMixin
label_desc: Use image node_id 3 for calling the TestVolumes obj's underlying member method code with example usage: obj._check_indexed_volumes(v, selected, indices) without return types