Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Completely Empty by ciel
import collections
def completely_empty(data):
if not isinstance(data,collections.Iterable): return False
if isinstance(data,str) and data: return False
return all(completely_empty(e) for e in data)
July 14, 2017