isnone

Stoner.tools.isnone(iterator: Optional[Iterable]) bool[source]

Return True if input is None or an empty iterator, or an iterator of None.

Parameters

iterator (None or Iterable)

Returns

True if iterator is None, empty or full of None.