code: def _isArrayLike(obj):
      return hasattr(obj, "__iter__") and hasattr(obj, "__len__")
  
imports: import copy
  import itertools
  import json
  import sys
  import time
  from collections import defaultdict
  import numpy
  from pycocotools import mask
label_desc: Use image node_id 1 for calling a global function with example usage: _isArrayLike(obj) and returns: unknown