src/Images.php
/**
     * Determining whether an images exist
     *
     * @param string $name Image name or id
     * @return bool
     * @throws \GuzzleHttp\Exception\GuzzleException
     * @noinspection PhpFullyQualifiedNameUsageInspection
     */
Determining whether an images exist
@param string $name Image name or id
@return bool
@throws \GuzzleHttp\Exception\GuzzleException
@noinspection PhpFullyQualifiedNameUsageInspection
Determining whether an images exist @param string $name Image name or id @return bool @throws \ GuzzleHttp \ Exception \ GuzzleException @noinspection PhpFullyQualifiedNameUsageInspection
public function has(string $name): bool
    {
        try {
            $this->inspect($name);
            return true;
        } catch (DockerException) {
            return false;
        }
    }
public function has ( string $ name ) : bool { try { $ this -> inspect ( $ name ) ; return true ; } catch ( DockerException ) { return false ; } }
Determining whether an images exist
 @param string $name Image name or id
 @return bool
 @throws \GuzzleHttp\Exception\GuzzleException
 @noinspection PhpFullyQualifiedNameUsageInspection
Determining whether an images exist @param string $name Image name or id @return bool @throws \ GuzzleHttp \ Exception \ GuzzleException @noinspection PhpFullyQualifiedNameUsageInspection