def METHOD_NAME(web_item, title, rating, comment=None):
	"""Add an Item Review by a user if non-existent."""
	if frappe.session.user == "Guest":
		# guest user should not reach here ideally in the case they do via an API, throw error
		frappe.throw(_("You are not verified to write a review yet."), exc=UnverifiedReviewer)
	if not frappe.db.exists("Item Review", {"user": frappe.session.user, "website_item": web_item}):
		doc = frappe.get_doc(
			{
				"doctype": "Item Review",
				"user": frappe.session.user,
				"customer": get_customer(),
				"website_item": web_item,
				"item": frappe.db.get_value("Website Item", web_item, "item_code"),
				"review_title": title,
				"rating": rating,
				"comment": comment,
			}
		)
		doc.published_on = datetime.today().strftime("%d %B %Y")
		doc.insert()