def _FindSerialNumber(self):
    """Find system serial number."""
    for item in self._GetDataTypeItems('hardware'):
      if 'serial_number' in item:
        self._profile['serial_number'] = item['serial_number']
        return
dataset/ETHPy150Open google/simian/src/simian/mac/common/hw.py/SystemProfile._FindSerialNumber/original