Expecting either nodes or ties to be active

expect_nodes(.data)

expect_ties(.data)