code: def check_other_objects(fobject, other):
      class_type = fobject.__class__
  
      other_objects = []
      for obj in other:
          if isinstance(obj, class_type):
              other_objects.append(obj)
  
      return other_objects
  
file_path: DALEX/python/dalex/dalex/fairness/_basics/checks.py
imports: import numpy
  import pandas
  from .exceptions import *
  from ..._explainer import helper
label_desc: Use image node_id 3 for calling a global function with example usage: check_other_objects(fobject, other) and returns: other_objects