original_string: public function hasAttribute($attrName)
  	{
  
  		// In default attributes
  		if (array_key_exists($attrName, $this->_attributes)) return true;
  
  		// A getter available?
  		if (method_exists($this, "__get_$attrName")) return true;			
  
  		return false;
  
  
  	}
code: public function hasAttribute($attrName)
  	{
  
  		// In default attributes
  		if (array_key_exists($attrName, $this->_attributes)) return true;
  
  		// A getter available?
  		if (method_exists($this, "__get_$attrName")) return true;			
  
  		return false;
  
  
  	}
code_tokens: public function hasAttribute ( $ attrName ) { // In default attributes if ( array_key_exists ( $ attrName , $ this -> _attributes ) ) return true ; // A getter available? if ( method_exists ( $ this , "__get_$attrName" ) ) return true ; return false ; }
docstring: Check if given attribute exists
  @param  string  Attribute name
  @return boolean           True or false
docstring_tokens: Check if given attribute exists