[graph-tool] Deciding if vertex is in subgraph