code: def datetime_does_not_exist(value):
      """This function tests whether the given datetime can be round-tripped to and
      from UTC.  It is an exact inverse of (and very similar to) the dateutil method
      https://dateutil.readthedocs.io/en/stable/tz.html#dateutil.tz.datetime_exists
      """
      # Naive datetimes cannot be imaginary, but we need this special case because
      # chaining .astimezone() ends with *the system local timezone*, not None.
      # See bug report in https://github.com/HypothesisWorks/hypothesis/issues/2662
      if value.tzinfo is None:
          return False
      try:
          # Does the naive portion of the datetime change when round-tripped to
          # UTC?  If so, or if this overflows, we say that it does not exist.
          roundtrip = value.astimezone(dt.timezone.utc).astimezone(
              value.tzinfo
          )
      except OverflowError:
          # Overflows at datetime.min or datetime.max boundary condition.
          # Rejecting these is acceptable, because timezones are close to
          # meaningless before ~1900 and subject to a lot of change by
          # 9999, so it should be a very small fraction of possible values.
          return True
  
      if (
          value.tzinfo is not roundtrip.tzinfo
          and value.utcoffset() != roundtrip.utcoffset()
      ):
          # This only ever occurs during imaginary (i.e. nonexistent) datetimes,
          # and only for pytz timezones which do not follow PEP-495 semantics.
          # (may exclude a few other edge cases, but you should use zoneinfo anyway)
          return True
  
      assert (
          value.tzinfo is roundtrip.tzinfo
      ), "so only the naive portions are compared"
      return value != roundtrip
  
imports: import datetime
  from calendar import monthrange
  from functools import lru_cache
  from importlib import resources
  from pathlib import Path
  from typing import Optional
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal.validation import check_type, check_valid_interval
  from hypothesis.strategies._internal.core import sampled_from
  from hypothesis.strategies._internal.misc import just, none
  from hypothesis.strategies._internal.strategies import SearchStrategy
  from hypothesis.strategies._internal.utils import defines_strategy
label_desc: Use image node_id 3 for calling a global function with example usage: datetime_does_not_exist(value) and returns: unknown, False, True, True