protected function hasInstructions($content)
    {
        $instructionKeys = $this->getInstructions();
        foreach ($instructionKeys as $instructionKey) {
            if (str_contains($content, ['[[' . $instructionKey . ']]', '[[/' . $instructionKey . ']]'])) {
                return true;
            }
        }
        return false;
    }