Returns true if graph contains value; false otherwise.
true
false
Returns true if graph contains edge; false otherwise.