public function contains($address)
    {
        $ob = new Horde_Mail_Rfc822_Address($address);

        foreach ($this->raw_addresses as $val) {
            if ($val->match($ob)) {
                return true;
            }
        }

        return false;
    }
public function contains($address)
    {
        $ob = new Horde_Mail_Rfc822_Address($address);

        foreach ($this->raw_addresses as $val) {
            if ($val->match($ob)) {
                return true;
            }
        }

        return false;
    }
public function contains ( $ address ) { $ ob = new Horde_Mail_Rfc822_Address ( $ address ) ; foreach ( $ this -> raw_addresses as $ val ) { if ( $ val -> match ( $ ob ) ) { return true ; } } return false ; }
Does this list contain the given e-mail address?

@param mixed $address  An e-mail address.

@return boolean  True if the e-mail address is contained in the list.
Does this list contain the given e - mail address?