public function imageExists($user, $imageIdentifier) { $path = $this->getImagePath($user, $imageIdentifier); return file_exists($path); }