public function imageExists(Image $client, $hash, $organizationName = '')
    {
        try {
            $sourceImage = $client->getSourceImage($hash, $organizationName);

            return $sourceImage instanceof SourceImage && $sourceImage->hash === $hash;
        } catch (ClientException $e) {
            if (404 === $e->getCode()) {
                return false;
            }

            throw $e;
        }
    }