def AddValidationHook(self, method):
    self._validation_hooks.append(method)
Adds a validation hook to run when Validate is called.
dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/ApplePlist.AddValidationHook