code: def _is_show_member(self, name):
      if self.show_inherited_members:
          return True  # show all class members
      if name not in self._cls.__dict__:
          return False  # class member is inherited, we do not show it
      return True
  
imports: import inspect
  import textwrap
  import re
  import pydoc
  from warnings import warn
  import collections
  import sys
  from packaging.version import Version
label_desc: Use image node_id 4 for calling the ClassDoc obj's underlying member method code with example usage: obj._is_show_member(name) and returns: True, True, False