def METHOD_NAME(**args):
	args = frappe._dict(args)
	lead_doc = frappe.get_doc(
		{
			"doctype": "Lead",
			"first_name": args.first_name or "_Test",
			"last_name": args.last_name or "Lead",
			"email_id": args.email_id or "new_lead_{}@example.com".format(random_string(5)),
			"company_name": args.company_name or "_Test Company",
		}
	).insert()
	return lead_doc