code: def is_seq(obj):
      
      if not hasattr(obj, '__iter__'):
          return False
      if isinstance(obj, basestring):
          return False
      return True
docs: Returns True if object is not a string but is iterable