code: def __call__(self, inst, attr, value):
      try:
          in_options = value in self.options
      except TypeError:  # e.g. `1 in "abc"`
          in_options = False
  
      if not in_options:
          msg = f"'{attr.name}' must be in {self.options!r} (got {value!r})"
          raise ValueError(
              msg,
              attr,
              self.options,
              value,
          )
  
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 1 for calling the _InValidator obj's underlying member method code with example usage: obj.__call__(inst, attr, value) without return types