original_string: public function hasTag($tag)
      {
          if ($this->isTopTag($tag)) {
              return true;
          }
  
          return isset($this->tags[$tag]) && is_array($this->tags[$tag]);
      }
code: public function hasTag($tag)
      {
          if ($this->isTopTag($tag)) {
              return true;
          }
  
          return isset($this->tags[$tag]) && is_array($this->tags[$tag]);
      }
code_tokens: public function hasTag ( $ tag ) { if ( $ this -> isTopTag ( $ tag ) ) { return true ; } return isset ( $ this -> tags [ $ tag ] ) && is_array ( $ this -> tags [ $ tag ] ) ; }
docstring: Check if tag is present inside template
docstring_tokens: Check if tag is present inside template