code: def currently_in_test_context() -> bool:
      """Return ``True`` if the calling code is currently running inside an
      :func:`@given <hypothesis.given>` or :doc:`stateful <stateful>` test,
      ``False`` otherwise.
  
      This is useful for third-party integrations and assertion helpers which
      may be called from traditional or property-based tests, but can only use
      :func:`~hypothesis.assume` or :func:`~hypothesis.target` in the latter case.
      """
      return _current_build_context.value is not None
  
imports: import math
  from collections import defaultdict
  from typing import NoReturn, Union
  from weakref import WeakKeyDictionary
  from hypothesis import Verbosity, settings
  from hypothesis._settings import note_deprecation
  from hypothesis.errors import InvalidArgument, UnsatisfiedAssumption
  from hypothesis.internal.compat import BaseExceptionGroup
  from hypothesis.internal.conjecture.data import ConjectureData
  from hypothesis.internal.reflection import get_pretty_function_description
  from hypothesis.internal.validation import check_type
  from hypothesis.reporting import report, verbose_report
  from hypothesis.utils.dynamicvariables import DynamicVariable
  from hypothesis.vendor.pretty import IDKey
label_desc: Use image node_id 3 for calling a global function with example usage: currently_in_test_context() and returns: unknown