Add contains method to graph interface
Undo changes to StructuredFlowVisitior