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