docs: def isiterable(element, exclude=None):
      """Check whatever or not if input element is an iterable.
  
      :param element: element to check among iterable types.
      :param type/tuple exclude: not allowed types in the test.
  
      :Example:
  
      >>> isiterable({})
      True
      >>> isiterable({}, exclude=dict)
      False
      >>> isiterable({}, exclude=(dict,))
      False
      """
  
      # check for allowed type
      allowed = exclude is None or not isinstance(element, exclude)
      result = allowed and isinstance(element, Iterable)
  
      return result