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

    if 'force_install_after_date' in self._plist:
      if not isinstance(
          self._plist['force_install_after_date'], datetime.datetime):
        raise InvalidPlistError(
            'force_install_after_date must be a date, received a %r' % (
                type(self._plist['force_install_after_date'])))
Write a warning to the log file
dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/MunkiPackageInfoPlist._ValidateForceInstallAfterDate--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/export/netcdf.py/Logger.warn