Add #vertex? to DirectedGraph