src/transformers/commands/add_new_model_like.py/is_empty_line
def is_empty_line(line: str) -> bool:
    """
    Determines whether a line is empty or not.
    """
    return len(line) == 0 or line.isspace()