src/Net/Mail/Header/Section.php
public function hasField( $name )
	{
		$name	= strtolower( $name );
		if( isset( $this->fields[$name] ) )
			return (bool) count( $this->fields[$name] );
	}
public function hasField( $name )
	{
		$name	= strtolower( $name );
		if( isset( $this->fields[$name] ) )
			return (bool) count( $this->fields[$name] );
	}
public function hasField ( $ name ) { $ name = strtolower ( $ name ) ; if ( isset ( $ this -> fields [ $ name ] ) ) return ( bool ) count ( $ this -> fields [ $ name ] ) ; }
Indicates whether a Header Field is set by its Name.
@access		public
@param		string		$name		Header Field Name
@return		boolean
Indicates whether a Header Field is set by its Name .