code: def in_(options):
      """
      A validator that raises a `ValueError` if the initializer is called
      with a value that does not belong in the options provided.  The check is
      performed using ``value in options``.
  
      :param options: Allowed options.
      :type options: list, tuple, `enum.Enum`, ...
  
      :raises ValueError: With a human readable error message, the attribute (of
         type `attrs.Attribute`), the expected options, and the value it
         got.
  
      .. versionadded:: 17.1.0
      .. versionchanged:: 22.1.0
         The ValueError was incomplete until now and only contained the human
         readable error message. Now it contains all the information that has
         been promised since 17.1.0.
      """
      return _InValidator(options)
  
imports: import operator
  import re
  from contextlib import contextmanager
  from re import Pattern
  from ._config import get_run_validators, set_run_validators
  from ._make import _AndValidator, and_, attrib, attrs
  from .converters import default_if_none
  from .exceptions import NotCallableError
label_desc: Use image node_id 8 for calling a global function with example usage: in_(options) and returns: _InValidator