original_string: protected function hasInstructions($content)
      {
          $instructionKeys = $this->getInstructions();
          foreach ($instructionKeys as $instructionKey) {
              if (str_contains($content, ['[[' . $instructionKey . ']]', '[[/' . $instructionKey . ']]'])) {
                  return true;
              }
          }
          return false;
      }
code: protected function hasInstructions($content)
      {
          $instructionKeys = $this->getInstructions();
          foreach ($instructionKeys as $instructionKey) {
              if (str_contains($content, ['[[' . $instructionKey . ']]', '[[/' . $instructionKey . ']]'])) {
                  return true;
              }
          }
          return false;
      }
code_tokens: protected function hasInstructions ( $ content ) { $ instructionKeys = $ this -> getInstructions ( ) ; foreach ( $ instructionKeys as $ instructionKey ) { if ( str_contains ( $ content , [ '[[' . $ instructionKey . ']]' , '[[/' . $ instructionKey . ']]' ] ) ) { return true ; } } return false ; }
docstring: whether notification has instructions
  
  @param String $content
  @return boolean
docstring_tokens: whether notification has instructions