(line)
return line.isspace() or not line or line.strip() == '-'
Returns true if the line is empty.
    A single hyphen in a line is considered as blank
Returns true if the line is empty.
    A single hyphen in a line is considered as blank
Returns true if the line is empty . A single hyphen in a line is considered as blank
def is_blank(line):
    """Returns true if the line is empty.
    A single hyphen in a line is considered as blank
    """
    return line.isspace() or not line or line.strip() == '-'
def is_blank ( line ) : return line . isspace ( ) or not line or line . strip ( ) == '-'