original_string: protected function cidExists($cid)
      {
          foreach ($this->attachment as $attachment) {
              if ('inline' == $attachment[6] and $cid == $attachment[7]) {
                  return true;
              }
          }
  
          return false;
      }
code: protected function cidExists($cid)
      {
          foreach ($this->attachment as $attachment) {
              if ('inline' == $attachment[6] and $cid == $attachment[7]) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: protected function cidExists ( $ cid ) { foreach ( $ this -> attachment as $ attachment ) { if ( 'inline' == $ attachment [ 6 ] and $ cid == $ attachment [ 7 ] ) { return true ; } } return false ; }
docstring: Check if an embedded attachment is present with this cid.
  
  @param string $cid
  
  @return bool
docstring_tokens: Check if an embedded attachment is present with this cid .