code: def note_deprecation(
      message: str,
      *,
      since: str,
      has_codemod: bool,
      stacklevel: int = 0,
  ) -> None:
      if since != "RELEASEDAY":
          date = datetime.date.fromisoformat(since)
          assert datetime.date(2021, 1, 1) <= date
      if has_codemod:
          message += (
              "\n    The `hypothesis codemod` command-line tool can automatically "
              "refactor your code to fix this warning."
          )
      warnings.warn(
          HypothesisDeprecationWarning(message),
          stacklevel=2 + stacklevel,
      )
  
imports: import contextlib
  import datetime
  import inspect
  import os
  import warnings
  from enum import Enum, EnumMeta, IntEnum, unique
  from typing import TYPE_CHECKING, Any, ClassVar, Collection, Dict, List, Optional, TypeVar, Union
  import attr
  from hypothesis.errors import HypothesisDeprecationWarning, InvalidArgument, InvalidState
  from hypothesis.internal.reflection import get_pretty_function_description
  from hypothesis.internal.validation import check_type, try_convert
  from hypothesis.utils.conventions import not_set
  from hypothesis.utils.dynamicvariables import DynamicVariable
label_desc: Use image node_id 9 for calling a global function with example usage: note_deprecation(message) without return types