contains

open operator fun contains(value: V): Boolean

Returns true if path contains value of a vertex; false otherwise.