exclude Vertex
Remove a vertex from the graph if it was present. If it was not present then do nothing. Answer whether the graph was changed (i.e., whether the vertex was present).
Return
Whether the graph changed.
Parameters
vertex
The vertex to remove.