contains

open fun contains(@NonNull node: @NonNull T): Boolean(source)

Returns true if the node is already present in the graph, false otherwise.