Whether node belongs to this graph.
Whether edge (matched by source, destination, and weight) belongs to this graph.