docs: def get_intercepted(target):
      """Get intercepted function and ctx from input target.
  
      :param target: target from where getting the intercepted function and ctx.
  
      :return: target intercepted function and ctx.
          (None, None) if no intercepted function exist.
          (fn, None) if not ctx exists.
      :rtype: tuple
      """
  
      function = _get_function(target)
  
      intercepted = getattr(function, _INTERCEPTED, None)
      ctx = getattr(function, _INTERCEPTED_CTX, None)
  
      return intercepted, ctx