code: def validate(self, record: DHTRecord) -> bool:
      for i, validator in enumerate(reversed(self._validators)):
          if not validator.validate(record):
              return False
          if i < len(self._validators) - 1:
              record = dataclasses.replace(
                  record, value=validator.strip_value(record)
              )
      return True
  
file_path: hivemind/hivemind/dht/validation.py
imports: import dataclasses
  from abc import ABC, abstractmethod
  from typing import Iterable
label_desc: Use image node_id 3 for calling the CompositeValidator obj's underlying member method code with example usage: obj.validate(record) and returns: True, False