def Equal(self, plist, ignore_keys=None):
    """Checks if a passed plist is the same, ignoring certain keys.

    Args:
      plist: ApplePlist object.
      ignore_keys: optional, sequence, str keys to ignore.
    Returns:
      Boolean. True if the plist is the same, False otherwise.
    Raises:
      PlistNotParsedError: the plist was not parsed.
    """
    if not hasattr(self, '_plist'):
      raise PlistNotParsedError

    if not ignore_keys:
      return self == plist

    for key in plist:
      if key in ignore_keys:
        continue
      try:
        if plist[key] != self._plist[key]:
          return False
      except __HOLE__:
        return False

    return True
dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/ApplePlist.Equal