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

@param String $content
@return boolean
whether notification has instructions