hasState

open fun hasState(node: N, name: String): Boolean(source)

true when node is in the state of the pseudo-class name, like hover, active, focus or disabled