def is_comp_node(graph, node):
    return 'comp' in graph.node.get(node, '')
Returns the number of fields in the Feature.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/is_comp_node--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/feature.py/Feature.num_fields