code: def _validate_print_blob(value):
      if isinstance(value, PrintSettings):
          replacement = value != PrintSettings.NEVER
  
          note_deprecation(
              "Setting print_blob=%r is deprecated and will become an error "
              "in a future version of Hypothesis. Use print_blob=%r instead."
              % (value, replacement),
              since="2018-09-30",
          )
          return replacement
  
      check_type(bool, value, "print_blob")
  
      return value
  
imports: from __future__ import absolute_import, division, print_function
  import contextlib
  import datetime
  import inspect
  import threading
  import warnings
  from enum import Enum, IntEnum, unique
  import attr
  from hypothesis.errors import HypothesisDeprecationWarning, InvalidArgument, InvalidState
  from hypothesis.internal.compat import integer_types, quiet_raise, string_types
  from hypothesis.internal.reflection import get_pretty_function_description
  from hypothesis.internal.validation import check_type, try_convert
  from hypothesis.utils.conventions import UniqueIdentifier, not_set
  from hypothesis.utils.dynamicvariables import DynamicVariable
label_desc: Use image node_id 9 for calling a global function with example usage: _validate_print_blob(value) and returns: value, replacement