def is_empty_line(text):
    return len(text) == 0 or text.isspace()
Check if a text is empty or contains only whitespace.
dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/text.py/is_empty_line