code: def _verify_str_arg(
      value: str,
      arg: Optional[str] = None,
      valid_values: Optional[Collection[str]] = None,
      *,
      custom_msg: Optional[str] = None,
  ) -> str:
      return verify_str_arg(
          value, arg, valid_values, custom_msg=custom_msg
      )
  
file_path: vision/torchvision/prototype/datasets/utils/_dataset.py
imports: import abc
  import importlib
  import pathlib
  from typing import Any, Collection, Dict, Iterator, List, Optional, Sequence, Union
  from torchdata.datapipes.iter import IterDataPipe
  from torchvision.datasets.utils import verify_str_arg
  from ._resource import OnlineResource
label_desc: Use image node_id 1 for calling the Dataset obj's underlying member method code with example usage: obj._verify_str_arg(value, arg, valid_values) and returns: verify_str_arg