code: def contain_instance(instance_list, instance_type):
      return any(
          [
              isinstance(instance, instance_type)
              for instance in instance_list
          ]
      )
  
file_path: autokeras/autokeras/utils/utils.py
imports: import re
  import warnings
  import keras_tuner
  import tensorflow
  from packaging.version import parse
  from tensorflow import nest
label_desc: Use image node_id 5 for calling a global function with example usage: contain_instance(instance_list, instance_type) and returns: any