code: def iterable(target):
      ''' returns true if the given argument is iterable '''
      if any(i in ('next', '__next__', '__iter__') for i in dir(target)):
          return True
      else:
          try:
              iter(target)
              return True
          except:
              return Falsf iterable(target):
      ''' returns true if the given argument is iterable '''
      if any(i in ('next', '__next__', '__iter__') for i in dir(target)):
          return True
      else:
          try:
              iter(target)
              return True
          except:
              return False
docs: returns true if the given argument is iterable