code: def validate_address(address: Any) -> None:
      
      if not is_address(address):
          raise ValidationError(f"Expected an address, got: {address}")
      if not is_canonical_address(address):
          raise ValidationError(
              "Py-EthPM library only accepts canonicalized addresses. "
              f"{address} is not in the accepted format."
          )
docs: Raise a ValidationError if an address is not canonicalized.