def METHOD_NAME(rName, charts):
	total = charts.getCount()
	for i in range(total):
		aChart = charts.getByIndex(i)
		if aChart.getName()== rName:
			charts.removeByName(rName)
			return True
	return False