class_docstr: RecursiveAttr class to catch all attributes corresponding to numpy,
  when user calls fallback_mode. numpy is an instance of this class.
docstr: Enable support for isinstance(instance, _RecursiveAttr instance)
  by redirecting it to appropriate isinstance method.
docstr_tok: ["Enable","support","for","isinstance","(","instance",",","_RecursiveAttr","instance",")","by","redirecting","it","to","appropriate","isinstance","method","."]
code: def __instancecheck__(self, instance):
      """
      Enable support for isinstance(instance, _RecursiveAttr instance)
      by redirecting it to appropriate isinstance method.
      """
  
      if self._cupy_object is not None:
          return isinstance(instance, self._cupy_object)
  
      return isinstance(instance, self._numpy_object)
  
imports: import types
  import numpy
  import cupy
  from cupyx.fallback_mode import notification
label_desc: Use image node_id 2 for calling the _RecursiveAttr obj's underlying member method code with example usage: obj.__instancecheck__(instance) and returns: isinstance, isinstance