private function findMostRelevantGhostValue(NodeInterface $node)
    {
        if (!empty($node->group_id)) {
            return (int)$this->groupManager->findOne($node->group_id)->isGhost();
        }

        return 1;
    }