public function exists($imagePath) { $cptPath = $this->MediaPaths->imageCaptionPath($imagePath); return $this->File->exists($cptPath); }