def is_var_node(graph, node):
    return 'var' in graph.node.get(node, '')
Return True for all basevar and subvar
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/is_var_node