def METHOD_NAME():
    grid = RasterModelGrid((4, 5))
    nodes_to_close = ((6, 12),)
    grid.status_at_node[nodes_to_close] = grid.BC_NODE_IS_CLOSED
    np.all(
        _active_links_at_node(grid)
        == np.array(
            [
                [
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    6,
                    7,
                    -1,
                    -1,
                    -1,
                    -1,
                    16,
                    -1,
                    -1,
                    23,
                    -1,
                    25,
                    -1,
                ],
                [
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    11,
                    12,
                    -1,
                    18,
                    -1,
                    -1,
                    21,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                ],
                [
                    -1,
                    -1,
                    6,
                    7,
                    -1,
                    -1,
                    -1,
                    -1,
                    16,
                    -1,
                    -1,
                    23,
                    -1,
                    25,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                ],
                [
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    11,
                    12,
                    -1,
                    18,
                    -1,
                    -1,
                    21,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                    -1,
                ],
            ]
        )
    )