public function theNodeShouldBeHiddenInIndex()
{
if ($this->isolated === true) {
$this->callStepInSubProcess(__METHOD__);
} else {
$currentNode = $this->iShouldHaveOneNode();
Assert::assertTrue($currentNode->isHiddenInIndex(), 'The current node should be hidden in index, but it is not.');
}
}