code: def is_in(elements, value):
      """
      Determines if a value is in a list. It also handles degenerate cases
      when instead of a list, elements is True, False  or None
      """
      if not elements:
          return False
      elif elements is True:
          return True
      else:
          return value in elements
  
imports: from functools import partial
  from difflib import HtmlDiff
  import random
  import string
  import base64
  import copy
  from pathlib import Path
  from collections.abc import Mapping
  import black
  import pandas
  from IPython.display import HTML, Image
  from jinja2 import Environment, PackageLoader
  from .NotebookIntrospector import NotebookIntrospector
  from .sets import differences
  from ..table import Table
  from ..telemetry import SKLearnEvaluationLogger
label_desc: Use image node_id 10 for calling a global function with example usage: is_in(elements, value) and returns: False, True, unknown