code: def PathExists(self, key, val, env):
          
          if not os.path.exists(val):
              m = 'Path for option %s does not exist: %s'
              raise SCons.Errors.UserError(m % (key, val))
docs: Validator to check if Path exists