code: def assume(condition: object) -> bool:
      """Calling ``assume`` is like an :ref:`assert <python:assert>` that marks
      the example as bad, rather than failing the test.
  
      This allows you to specify properties that you *assume* will be
      true, and let Hypothesis try to avoid similar examples in future.
      """
      if _current_build_context.value is None:
          note_deprecation(
              "Using `assume` outside a property-based test is deprecated",
              since="2023-09-25",
              has_codemod=False,
          )
      if not condition:
          raise UnsatisfiedAssumption
      return True
  
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 2 for calling a global function with example usage: assume(condition) and returns: True