def _ValidateInstallsFilePath(self):
    if not hasattr(self, '_plist'):
      raise PlistNotParsedError

    if 'installs' in self._plist:
      if not isinstance(self._plist['installs'], list):
        raise InvalidPlistError('installs must be an array.')
      for install in self._plist['installs']:
        if install.get('type') == 'file':
          if install.get('path'):
            if install['path'].find('\n') > -1:
              raise InvalidPlistError(
                  'Illegal newlines in install path', install)
          else:
            raise InvalidPlistError(
                'Missing path value for installs type file')
Little-endian
dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/MunkiPackageInfoPlist._ValidateInstallsFilePath--crossover with--dataset/ETHPy150Open dongying/dear/dear/spectrum/_base.py/SpectrogramFile._read_header