code: def is_array_of_what(obj_list, obj_type):
      is_array = True
      for item in obj_list:
          if not isinstance(item, obj_type):
              is_array = False
              break
      return is_array
  
imports: import time
  import numbers
  import socket
  import collections
  import numpy
  from contextlib import closing, contextmanager
  import torch
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 11 for calling a global function with example usage: is_array_of_what(obj_list, obj_type) and returns: is_array