WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::cidExists() protected WP 1.0

Check if an embedded attachment is present with this cid.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

true|false. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->cidExists( $cid );
$cid(string) (required)
-

Code of PHPMailer::cidExists() WP 5.7.2

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

    return false;
}