code: def _get_device_grain(name, proxy=None):
      '''
      Retrieves device-specific grains.
      '''
      device = _retrieve_device_cache(proxy=proxy)
      return device.get(name.upper()f _get_device_grain(name, proxy=None):
      '''
      Retrieves device-specific grains.
      '''
      device = _retrieve_device_cache(proxy=proxy)
      return device.get(name.upper())
docs: Retrieves device-specific grains.