Adds hasEdge function