<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_all_runs(self, only_largest_budget=False):
 		""" 		returns all runs performed 		Parameters 			only_largest_budget: boolean 				if True, only the largest budget for each configuration 				is returned. This makes sense if the runs are continued 				across budgets and the info field contains the information 				you care about. If False, all runs of a configuration 				are returned 		"""

		all_runs = []

		for k in self.data.keys():
			runs = self.get_runs_by_id(k)

			if len(runs) > 0:
				if only_largest_budget:
					all_runs.append(runs[-1])
				else:
					all_runs.extend(runs)

		return(all_runs)