def is_warmer_than_avg(cur_temp,avg_temp,threshold):
	"""
	Purpose: Determine if the current temp is warmer than the average temp
				while being outside the avg_temp/threshold window
	cur_temp: int
	avg_temp: int
	threshold: pos int
	"""

	if threshold < 0:
		raise ValueError("threshold must be a positive int")

	if cur_temp >= avg_temp:

		if avg_temp + threshold <= cur_temp:
			return True

	return False