def METHOD_NAME(filters):
	record_filters = [
		["start_date", "<=", filters.to_date],
		["end_date", ">=", filters.from_date],
	]
	if not filters.get("include_draft_timesheets"):
		record_filters.append(["docstatus", "=", 1])
	else:
		record_filters.append(["docstatus", "!=", 2])
	if "employee" in filters:
		record_filters.append(["employee", "=", filters.employee])
	timesheets = frappe.get_all(
		"Timesheet", filters=record_filters, fields=["employee", "employee_name", "name"]
	)
	timesheet_map = frappe._dict()
	for d in timesheets:
		timesheet_map.setdefault(d.name, d)
	return timesheet_map