def METHOD_NAME():
	"""Checks if folder exists in Google Drive else create it."""
	def _create_folder_in_google_drive(google_drive, account):
		file_metadata = {
			"name": account.backup_folder_name,
			"mimeType": "application/vnd.google-apps.folder",
		}
		try:
			folder = google_drive.files().create(body=file_metadata, fields="id").execute()
			frappe.db.set_single_value("Google Drive", "backup_folder_id", folder.get("id"))
			frappe.db.commit()
		except HttpError as e:
			frappe.throw(
				_("Google Drive - Could not create folder in Google Drive - Error Code {0}").format(e)
			)
	google_drive, account = get_google_drive_object()
	if account.backup_folder_id:
		return
	backup_folder_exists = False
	try:
		google_drive_folders = (
			google_drive.files().list(q="mimeType='application/vnd.google-apps.folder'").execute()
		)
	except HttpError as e:
		frappe.throw(
			_("Google Drive - Could not find folder in Google Drive - Error Code {0}").format(e)
		)
	for f in google_drive_folders.get("files"):
		if f.get("name") == account.backup_folder_name:
			frappe.db.set_single_value("Google Drive", "backup_folder_id", f.get("id"))
			frappe.db.commit()
			backup_folder_exists = True
			break
	if not backup_folder_exists:
		_create_folder_in_google_drive(google_drive, account)