Returns true/false if there is a connection between a and b in graph. Use getConnection if you want to the edge.
a
b
graph
Graph to search
true if edge exists
Returns true/false if there is a connection between
aandbingraph. Use getConnection if you want to the edge.