original_string: public function hasClass($className)
      {
          foreach ($this->meta['classes'] as $classInMeta) {
              if ($classInMeta === $className) {
                  return true;
              }
          }
  
          return false;
      }
code: public function hasClass($className)
      {
          foreach ($this->meta['classes'] as $classInMeta) {
              if ($classInMeta === $className) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function hasClass ( $ className ) { foreach ( $ this -> meta [ 'classes' ] as $ classInMeta ) { if ( $ classInMeta === $ className ) { return true ; } } return false ; }
docstring: Check whether or not this element has a given class
  
  @param string $className e.g. 'resourceGroup', 'messageBody'
  @return bool
docstring_tokens: Check whether or not this element has a given class