public function folderExists($path) { try { return \JFolder::exists($path); } catch (\Exception $e) { return false; } }