code: def _find_modules_in_obj(finder, obj, obj_name, criteria=None):
      for name, member in inspect.getmembers(obj):
          if criteria is not None and not criteria(name):
              continue
          if inspect.ismodule(member) and (
              member not in modules_to_skip
          ):
              yield from _find_doctests_in_obj(
                  finder, member, obj_name, _is_public_name
              )
  
imports: import contextlib
  import doctest
  import inspect
  import io
  import os
  import numpy
  import pandas
  import scipy
  import pytest
  import cugraph
  import pylibcugraph
  import cudf
  from numba import cuda
  from cugraph.testing import utils
label_desc: Use image node_id 5 for calling a global function with example usage: _find_modules_in_obj(finder, obj, obj_name, criteria) without return types