is_edge_present function

Determine whether a specified edge is present