def worth_to_put_in_snippet(code_line: str) -> bool:
    """Check if a line of source code is worth to be in a code snippet"""
    if "async " in code_line or "def " in code_line:
        return True
    if code_line.strip().startswith("assert"):
        return True

    return False