public function imageExists($user, $imageIdentifier)
{
try {
$this->getClient()->headObject(['Bucket' => $this->params['bucket'], 'Key' => $this->getImagePath($user, $imageIdentifier)]);
} catch (NoSuchKeyException $e) {
return false;
}
return true;
}