def METHOD_NAME(self, m: torch.fx.GraphModule):
    for node in m.graph.nodes:
        if node.is_impure():
            continue
        if len(node.users) == 0:
            return True
    return False