def check_mp_options(input,):
	"""
	Checks the inputs of the mcmc_options dictionary and ensures that 
	all keywords have valid values. 

	mp_options={
	'threads' : 4# number of processes per object
	}

	"""
	output={} # output dictionary

	if not input:
		output={
		'threads' : 4 # number of processes per object
		}
		return output

	# Check threads
	if 'threads' in input:
		threads = input['threads']
		if (not isinstance(threads,(int))):
				raise TypeError('\n threads must be an integer! \n')
		else: 
			output['threads']=threads
	else: 
		output['threads']= 4

	# print output
	return output