protected function cidExists($cid)
    {
        foreach ($this->attachment as $attachment) {
            if ('inline' == $attachment[6] and $cid == $attachment[7]) {
                return true;
            }
        }

        return false;
    }
protected function cidExists($cid)
    {
        foreach ($this->attachment as $attachment) {
            if ('inline' == $attachment[6] and $cid == $attachment[7]) {
                return true;
            }
        }

        return false;
    }
protected function cidExists ( $ cid ) { foreach ( $ this -> attachment as $ attachment ) { if ( 'inline' == $ attachment [ 6 ] and $ cid == $ attachment [ 7 ] ) { return true ; } } return false ; }
Check if an embedded attachment is present with this cid.

@param string $cid

@return bool
Check if an embedded attachment is present with this cid .