def METHOD_NAME(graph) -> None:
    x: AssignableNodeReference = get_dataflow_node(graph, "x")
    leaves: List[AssignableNode] = list(x.leaf_nodes())
    assert isinstance(x, DirectNodeReference)
    assert leaves == [x.node]