code: def global_check_object_class(ob, class_object):
      """check if one of 'objects' is of the desired class - raise error if not"""
      if not isinstance(ob, class_object):
          class_name = search(
              "(?<=<class ').*(?='>)", str(class_object)
          )[0]
          raise TypeError(
              "One of 'objects' isn't of the "
              + class_name
              + " class: "
              + str(type(ob))
          )
  
file_path: DALEX/python/dalex/dalex/_global_checks.py
imports: import pkg_resources
  from importlib import import_module
  from re import search
  import numpy
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: global_check_object_class(ob, class_object) without return types