code: def _check_device_exists_in_device_group(self, device_name):
          '''Check whether a device exists in the device group
  
          :param device: ManagementRoot object -- device to look for
          '''
  
          dg = self._get_device_group(self.devices[0])
          dg.devices_s.devices.load(name=device_name, partition=self.partitionf _check_device_exists_in_device_group(self, device_name):
          '''Check whether a device exists in the device group
  
          :param device: ManagementRoot object -- device to look for
          '''
  
          dg = self._get_device_group(self.devices[0])
          dg.devices_s.devices.load(name=device_name, partition=self.partition)
docs: Check whether a device exists in the device group
  
          :param device: ManagementRoot object -- device to look for