code: def validate(self, path, schema, value, results):
          
          if self._rule == None:
              return
  
          name = path if path != None else "value"
          local_results = []
  
          self._rule.validate(path, schema, value, local_results)
  
          if len(local_results) > 0:
              return
  
          results.append(ValidationResult(
              path,
              ValidationResultType.Error,
              'NOT_FAILED',
              'Negative check for ' + name + ' failed',
              None,
              None
          ))
docs: Validates a given value against this rule.
  
          :param path: a dot notation path to the value.
  
          :param schema: a schema this rule is called from
  
          :param value: a value to be validated.
  
          :param results: a list with validation results to add new results.