hasCycle

open fun hasCycle(source: Vertex<T>): Boolean
open fun hasCycle(source: Vertex<T>, pushed: MutableSet<Vertex<T>>): Boolean