code: def is_iterable_of(iterable_var, classes):
      """Check whether `iterable_var` contains only instances of given classes.
  
      Parameters
      ----------
      iterable_var : iterable
          An iterable of items that will be matched against `classes`.
  
      classes : type or iterable of type
          One or more classes that each item in `var` must be an instanceof.
          If this is an iterable, a single match per item is enough.
  
      Returns
      -------
      bool
          Whether `var` only contains instances of `classes`.
          If `var` was empty, ``True`` will be returned.
  
      """
      if not ia.is_iterable(iterable_var):
          return False
  
      for var_i in iterable_var:
          if not isinstance(var_i, classes):
              return False
  
      return True
  
imports: from __future__ import print_function, division, absolute_import
  import imgaug
label_desc: Use image node_id 2 for calling a global function with example usage: is_iterable_of(iterable_var, classes) and returns: True, False, False