code: def Choices(*choices):  # noqa: N802
      """Checks that value belongs to the specified set of values
  
      Args:
          *choices: pass allowed values as arguments, or pass a list or
              tuple as a single argument
      """
      return Any(
          *choices, msg="expected one of {}".format(", ".join(choices))
      )
  
file_path: dvc/dvc/config_schema.py
imports: import os
  from urllib.parse import urlparse
  from funcy import once, walk_values
  from voluptuous import REMOVE_EXTRA, All, Any, Coerce, Exclusive, Invalid, Lower, Optional, Range, Schema
  from dvc.log import logger
label_desc: Use image node_id 2 for calling a global function with example usage: Choices() and returns: Any