def Validate(self, value, key):
    value = self.regex.Validate(value, key)

    try:
      db.check_reserved_word(value)
    except db.ReservedWordError:
      raise validation.ValidationError(
          'The config parameter name %.100r is reserved by db.Model see: '
          'https://developers.google.com/appengine/docs/python/datastore/'
          'modelclass#Disallowed_Property_Names for details.' % value)

    if value.startswith(RESERVED_MARKER):
      raise validation.ValidationError(
          'The config parameter name %.100r is reserved, as are all names '
          'beginning with \'%s\', please choose a different name.' % (
              value, RESERVED_MARKER))

    return value
Takes in a path and a counter and returns a zookeeper appropriate path.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/conf.py/_ValidParameterName.Validate--crossover with--dataset/ETHPy150Open Knewton/pettingzoo-python/pettingzoo/utils.py/counter_path