def print_func(msg: str) -> bool:
    """
    print_func()
        Print a hash guarded msg
    """

    length = len(msg) + 4
    fullhashline = ""
    for _ in range(0, length):
        fullhashline += "#"

    sparsehashline = "#"
    for _ in range(1, (length - 1)):
        sparsehashline += " "
    sparsehashline += "#"

    print(
        "".join(
            [
                fullhashline,
                "\n",
                fullhashline,
                "\n",
                sparsehashline,
                "\n",
                "# ",
                msg,
                " #",
                "\n",
                sparsehashline,
                "\n",
                fullhashline,
                "\n",
                fullhashline,
            ]
        )
    )
    return True