<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _add_element_attrs(elem, attrs):
 	""" 	Add attributes to the given element. 	:param elem: ElementTree.Element: The element the attributes are being added to. 	:param attrs: dict: A dictionary of attributes. e.g.: 		{"attribute1": "value", "attribute2": "another"} 	:return: ElementTree.Element 	"""

	for attr, value in attrs.items():
		elem.attrib[attr] = value
	return elem