def bool_convert(value):
	""""
	Convert a string to a boolean type value
	Args:
		value: string in ['true','True','false','False']
			the string to convert
	Return:
		rvalue: bool
			a bool type value

	"""
	if value=='true' or value=='True':
		rvalue=True
	elif value=='false' or value=='False':
		rvalue=False
	else:
		assert False
	return rvalue