code: def assert_output_has_valid_files(
      value: Any, storage_client: StorageClient
  ) -> None:
      if isinstance(value, list):
          for item in value:
              assert_output_has_valid_files(
                  item, storage_client=storage_client
              )
      elif isinstance(value, dict):
          if (
              "src" in value
              and isinstance(value["src"], str)
              and value["src"].startswith(storage_client.base_url)
          ):
              path = Path(
                  storage_client.get_full_path(
                      value["src"][
                          len(storage_client.base_url) + 1 :
                      ],  # noqa: E203
                  )
              )
              assert os.path.exists(path)
              assert os.path.getsize(path) > 0
  
imports: import datetime
  import os
  from collections.abc import Mapping
  from pathlib import Path
  from typing import Any
  from unittest.mock import patch
  from zoneinfo import ZoneInfo
  import boto3
  import numpy
  import pytest
  from aiobotocore.response import StreamingBody
  from datasets import Audio, Dataset, Features, Image, Value
  from moto import mock_s3
  from urllib3.response import HTTPHeaderDict
  from libcommon.storage_client import StorageClient
  from libcommon.viewer_utils.features import get_cell_value, get_supported_unsupported_columns, infer_audio_file_extension
label_desc: Use image node_id 3 for calling a global function with example usage: assert_output_has_valid_files(value, storage_client) without return types