contains

open operator fun contains(priority: Priority): Boolean(source)

Checks if there is a node with the specified priority.