code: def is_ambiguous(self, dt):
          
          if not self.hasdst:
              return False
  
          start, end = self.transitions(dt.year)
  
          dt = dt.replace(tzinfo=None)
          return (end <= dt < end + self._dst_base_offset)
docs: Whether or not the "wall time" of a given datetime is ambiguous in this
          zone.
  
          :param dt:
              A :py:class:`datetime.datetime`, naive or time zone aware.
  
  
          :return:
              Returns ``True`` if ambiguous, ``False`` otherwise.
  
          .. versionadded:: 2.6.0