public function hasAttribute($name) {
		if ($this->_attributes === null) {
			$this->initAttributes();
		}
		
		return isset($this->_attributes[$name]);
	}
public function hasAttribute($name) {
		if ($this->_attributes === null) {
			$this->initAttributes();
		}
		
		return isset($this->_attributes[$name]);
	}
public function hasAttribute ( $ name ) { if ( $ this -> _attributes === null ) { $ this -> initAttributes ( ) ; } return isset ( $ this -> _attributes [ $ name ] ) ; }
Element has attribute ?

@param  string $name
@return bool
Element has attribute ?